How to create a button in aspx page and also how to write the onclick event for that button in .cs file for sharepoint site
-
Hi, I designed an aspx page to show in sharepoint site. I designed with two text boxes and one button in anaspx page. Now I want to write the code for that button click event. how can I do that ? In Dot net environment we write as follows: aspx page code -------------- ---- ---- .CS file code -------------- protected void EventName(object sender,EventArgs e) { --- --- } how to achieve the same above in Sharepoint web page? can anybody help ?
-
Hi, I designed an aspx page to show in sharepoint site. I designed with two text boxes and one button in anaspx page. Now I want to write the code for that button click event. how can I do that ? In Dot net environment we write as follows: aspx page code -------------- ---- ---- .CS file code -------------- protected void EventName(object sender,EventArgs e) { --- --- } how to achieve the same above in Sharepoint web page? can anybody help ?
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
Hi, I designed an aspx page to show in sharepoint site. I designed with two text boxes and one button in anaspx page. Now I want to write the code for that button click event. how can I do that ? In Dot net environment we write as follows: aspx page code -------------- ---- ---- .CS file code -------------- protected void EventName(object sender,EventArgs e) { --- --- } how to achieve the same above in Sharepoint web page? can anybody help ?
Have a look here for a discusion of using code-behind files in SharePoint, http://www.andrewconnell.com/blog/articles/UsingCodeBehindFilesInSharePointSites.aspx[^]
I know the language. I've read a book. - _Madmatt
-
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopesNot excatly relevant to the question. There are special consideration to take into account when using code-behind files with SharePoint.
I know the language. I've read a book. - _Madmatt
-
Not excatly relevant to the question. There are special consideration to take into account when using code-behind files with SharePoint.
I know the language. I've read a book. - _Madmatt
It had an example of how to specify an event handler which is what I thought he was asking.
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
It had an example of how to specify an event handler which is what I thought he was asking.
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopesYes, he was, but using code-behind in a SharePoint environment is different than a normal ASP.NET environment.
I know the language. I've read a book. - _Madmatt