Using this application I cannot get any data from the forms :
<% Response.Buffer = True
Response.Expires = 0 %>
...
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function(){
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
var sBasePath = "<%=virtual%>admin/fckeditor/";
var oFCKeditor = new FCKeditor( 'htmlarea' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
...
<form method="post" action="<%=Request.ServerVariables("PATH_INFO")%>">
<input type="hidden" name="action" value="add">
Titolo della pagina : <input type="text" name="doc_titolo" size="50" maxlength="50"><br><br>
Contenuto : <br>
<textarea id="htmlarea" name="htmlarea" style="width: 100%;height:100%;" rows="25">Contenuto del documento.</textarea><br>
<input type="submit" value="Aggiungi">
</script>
</form>
The 'titolo' and the 'htmlarea' so like any else field are everytime empties and from Request.Form("titolo") or Request.Form("htmlarea") cannot get any value.
The 2nd problem is relative the fixed height that I cannot change.
I tryed either <textarea id="htmlarea" name="htmlarea" style="width: 100%;height:800px">
but not the css style not the attribute 'rows' cannot change it.
Thanks for any help
Bye
- Atari
p.s. I'm sorry for my bad english
<% Response.Buffer = True
Response.Expires = 0 %>
...
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function(){
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
var sBasePath = "<%=virtual%>admin/fckeditor/";
var oFCKeditor = new FCKeditor( 'htmlarea' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
...
<form method="post" action="<%=Request.ServerVariables("PATH_INFO")%>">
<input type="hidden" name="action" value="add">
Titolo della pagina : <input type="text" name="doc_titolo" size="50" maxlength="50"><br><br>
Contenuto : <br>
<textarea id="htmlarea" name="htmlarea" style="width: 100%;height:100%;" rows="25">Contenuto del documento.</textarea><br>
<input type="submit" value="Aggiungi">
</script>
</form>
The 'titolo' and the 'htmlarea' so like any else field are everytime empties and from Request.Form("titolo") or Request.Form("htmlarea") cannot get any value.
The 2nd problem is relative the fixed height that I cannot change.
I tryed either <textarea id="htmlarea" name="htmlarea" style="width: 100%;height:800px">
but not the css style not the attribute 'rows' cannot change it.
Thanks for any help
Bye
- Atari
p.s. I'm sorry for my bad english
RE: ASP - Post Data & Fixed Height Issues
Bye
- Atari