Thanks to both of you - I will try adding the handler in code. I just enter it as part of the control in the HTML normally.
<asp:linkbutton id="LinkButtonPOSITION1" runat="server" causesvalidation="false" commandname="IgnoreRowCommand" onclick="LinkButtonPOSITION1_Click"...
jbenson001 - thanks I know how to call the code from the codebehind that calls the shared code. Is there a way to do it in the ASPX and if so what is the syntax.
Thanks!
Hope everyone is having a great day!
Thanks - Jennifer
I have multiple pages that have LinkButtons that have the exact same code behind them. Is it possible to call/link code from a shared class like one in App_Code directory instead of the code behind page? I still need the code behind for the code that is different.
I have searched and can't find...
I have a trigger - works for all other tables at this point. It works for Insert, Update of multiple fields but fails 95% of the time when updating 1 field. I can duplicate this in SQL Server Management Studio manually. i have tried rebuilding statistic and indexes on the table as well as the...
I have a tester that is getting this error randomly when clicking on Gridview Link (Sorting, Paging etc.) in FireFox. We use the Microsoft AJAX Update Panel with Partial Rendering. It is reproducable but doesn't happen everytime.
Everything that I have found on the web, I have tried such as we...
I accidentally found the solution and wanted to post for those searching...
I had to add the following to the Web.Config System.Web section.
<xhtmlConformance mode="Transitional"/>
Thanks!
Hope everyone is having a great day!
Thanks - Jennifer
I found the solution by accident...
The following had to be added to the Web.Config System.Web section...
<xhtmlConformance mode="Transitional"/>
Thanks TheCandyman
Hope everyone is having a great day!
Thanks - Jennifer
Which post was it that I had my full name in? Nt that it matters with my screen name...
Thanks for your help, It is weird because it is mostly CSS and HTML differences, not code. For example I format link buttons to look like buttons so that I can control them instead of the browser deciding...
Can anyone help me with a display issue that I am having? I have a ASP.NET website using CSS/theme. On my development machine which is XP with IIS turned on and setup to work with Visual Studio 2005 the website look good and works as expected. I copy the whole directory to the webserver (we are...
When I run the ASP.NET 2.0 from development machine. The CSS looks good but when I do an XCopy deployment the CSS changes - buttons cut off, extra line put in. Same size window, same browser. Just different IIS - am I missing an update or setting...
Thanks in advance.
Hope everyone is having a...
You could also call code passing the option outside of you linkbutton code.
protected void a1_OnClick(object sender, EventArgs e)
{
CallCode("a1")
}
public void CallCode(string sWhichButton )
{
//code needed...
}
Hope everyone is having a great day!
Thanks - Jennifer
You need to create an event for the linkbutton...
onclick="a1_OnClick" in the HTML for the linkbuttons
protected void a1_OnClick(object sender, EventArgs e)
{
TextBox txt = new TextBox();
txt = (TextBox)this.LoginControls.FindControl("NameOfTextBox");
txt.Text...
More info... the same code works without any problem without the MasterPage ContentPage...
Any body have experience with MasterPages and GridView?
Hope everyone is having a great day!
Thanks - Jennifer
I also bind the data manually but I use the dataset instead of the adapter. The paging worked in a content page for me. Maybe you could give that a try.
Hope everyone is having a great day!
Thanks - Jennifer
How are getting the data into the gridview? SQLDataSource - ObjectDataSource or binding manually? If manually are you binding to a dataset or to a reader?
Hope everyone is having a great day!
Thanks - Jennifer
I am not sure what you mean but...
You can open IIS and look at a website and see if there is an ASP tab - that would show you the version. If it doesn't exist then the Framework is not installed.
Hope everyone is having a great day!
Thanks - Jennifer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.