Invalid Charcter
-
Hi all, I am gettting the invalid charcter error msg
<button onclick="\_\_doPostBack('btnClear','')" id="btnClear" class="btn" title="Alt-C" accesskey="C" style="width: 56px">Clear</button>
<button id="btnSave" runat="server" class="btn" onclick="btnSave_OnClick" type="button">Save</button><br />
Can some one help ? Dana
-
Hi all, I am gettting the invalid charcter error msg
<button onclick="\_\_doPostBack('btnClear','')" id="btnClear" class="btn" title="Alt-C" accesskey="C" style="width: 56px">Clear</button>
<button id="btnSave" runat="server" class="btn" onclick="btnSave_OnClick" type="button">Save</button><br />
Can some one help ? Dana
What is this Button tag ? Do you mean
asp:button
?All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
What is this Button tag ? Do you mean
asp:button
?All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
It is HTML Button with Runat Attribute set to TRUE
-
It is HTML Button with Runat Attribute set to TRUE
Well, the examples give by you runs well at my end.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
Hi all, I am gettting the invalid charcter error msg
<button onclick="\_\_doPostBack('btnClear','')" id="btnClear" class="btn" title="Alt-C" accesskey="C" style="width: 56px">Clear</button>
<button id="btnSave" runat="server" class="btn" onclick="btnSave_OnClick" type="button">Save</button><br />
Can some one help ? Dana
use html input tag
Best Regards, Trishul Tandel Software Developer
-
use html input tag
Best Regards, Trishul Tandel Software Developer
This is the view source of the page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns= "http://www.w3.org/1999/xhtml">
<head><title>Subject Master
</title>
<link href=Spaceinvador.css type="text/css" rel=Stylesheet /> <style type="text/css"> BUTTON.btn { border:groove inset 1px #000000; background:#84B0DC; filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#84B0DC',endColorstr='#ffffff', gradientType='0') progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#8b9b99', Positive='true'); color:#00000; font-family: Verdana; font-size: 8pt; font-weight:bold; } </style> </head> <script language ="vbscript" type ="text/vbscript" > Function Call\_Mandatry() If Len(Trim(document.frmSubjectMaster.txtDescription.value))>0 Then document.getElementById("imgMandatory").style.width=0 document.getElementById("imgMandatory").style.height=0 document.getElementById("imgMandatory").style.visibility ="hidden" Else document.getElementById("imgMandatory").style.width=7 document.getElementById("imgMandatory").style.height=14 document.getElementById("imgMandatory").style.visibility ="visible" End If End Function </script> <script language ="vbscript" type ="text/vbscript" > Function BValidateNumber(key) BValidateNumber = (key >= Asc("0") And key <= Asc("9")) End Function Sub ValidateNumber() window.event.returnValue = BValidateNumber(window.event.keycode) End Sub </script> <script language ="javascript" type ="text/javascript" > function Delete() { if(confirm('Delete Subject?')) { return true; } else {
-
This is the view source of the page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns= "http://www.w3.org/1999/xhtml">
<head><title>Subject Master
</title>
<link href=Spaceinvador.css type="text/css" rel=Stylesheet /> <style type="text/css"> BUTTON.btn { border:groove inset 1px #000000; background:#84B0DC; filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#84B0DC',endColorstr='#ffffff', gradientType='0') progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#8b9b99', Positive='true'); color:#00000; font-family: Verdana; font-size: 8pt; font-weight:bold; } </style> </head> <script language ="vbscript" type ="text/vbscript" > Function Call\_Mandatry() If Len(Trim(document.frmSubjectMaster.txtDescription.value))>0 Then document.getElementById("imgMandatory").style.width=0 document.getElementById("imgMandatory").style.height=0 document.getElementById("imgMandatory").style.visibility ="hidden" Else document.getElementById("imgMandatory").style.width=7 document.getElementById("imgMandatory").style.height=14 document.getElementById("imgMandatory").style.visibility ="visible" End If End Function </script> <script language ="vbscript" type ="text/vbscript" > Function BValidateNumber(key) BValidateNumber = (key >= Asc("0") And key <= Asc("9")) End Function Sub ValidateNumber() window.event.returnValue = BValidateNumber(window.event.keycode) End Sub </script> <script language ="javascript" type ="text/javascript" > function Delete() { if(confirm('Delete Subject?')) { return true; } else {
please select line where your error occure
Best Regards, Trishul Tandel Software Developer
-
please select line where your error occure
Best Regards, Trishul Tandel Software Developer
This one
<button id="btnSave" class="btn" onclick="btnSave_OnClick" type="button">Save</button> <input onclick="__doPostBack('Button1','')" name="Button1" type="button" id="Button1" value="button" class="btn" /><br />
-
This one
<button id="btnSave" class="btn" onclick="btnSave_OnClick" type="button">Save</button> <input onclick="__doPostBack('Button1','')" name="Button1" type="button" id="Button1" value="button" class="btn" /><br />
Save solution : Save If you are using button tag then it not allow to use type="button" Best Regards, Trishul Tandel Software Developer