that page doesn't load ...
this is the error I get be .Net debugger :
Compiler Error Message: CS0122: 'System.Web.UI. WebControls.But ton.OnClick(Sys tem.E ventArgs)' is inaccessible due to its protection level
Line 44: void Page_Load()
Line 45: {
Line 46: XMLUpdateButton .OnClick += new EventHandler(on UpdateFn);
Line 47:
Line 48: }
i attached it to...
User Profile
Collapse
-
that page doesn't load ...
this is the error I get be .Net debugger :
Compiler Error Message: CS0122: 'System.Web.UI. WebControls.But ton.OnClick(Sys tem.EventArgs)' is inaccessible due to its protection level
thanksLeave a comment:
-
thanx.. but it really doesn't work
all i get is errors :S .. with .Net debugger :
Parser Error Message: Content ('</div>
</form>') does not match any properties within a 'System.Web.UI. WebControls.But ton', make sure it is well-formed.
Source Error:
Line 36:
Line 37:
Line 38: <asp:Button ID="Button1" runat="server" Text="Button"...Leave a comment:
-
-
thanks but can you give an example ?
my Function is : updatefun
<input id="Button1" runat="server" type="button" onclick=updatef un()value="UPDA TE"/>
isn't working .. i don't know how should the value be in ONCLICK
please helpLeave a comment:
-
Call a function through a Button
Can anyone tell me how to call a function through a button in Page Language="C#" not vb ..
Please help .. I really need this
thanks -
Thanks but I actully want to do this through web page ..
I putted the code that updates an xml file in function :
void updateclick(obj ect sender, System.EventArg s e)
i just wanna know how can i call this function through a button ..Leave a comment:
-
Updating an XML file
hey ..
I can update update my XML File .. but every time i want to update it .. I must change in the code .. can't I change it through a form ? Text box .. and afterfinishing pressing a button .. ??
this is my code : <script runat="server">
void Page_Load(objec t sender, System.EventArg s e){
if(!Page.IsPost Back){
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(Ser ver.MapPath("XM LFile.xml"));...
No activity results to display
Show More
Leave a comment: