Search

You searched for the word(s): userid:860552

Matching Posts

  • Re: DropDownList Empty after postback

    Hi guys Thanks for your replies. Unfortunatly the problem dosn't lie in these area's that you've sugested. I've tested a bit and found out that the problem only happens with DropDownList controls. Textboxes retain their content accross postback. Furthermore I found out that it only happens within the tabpanel. When I moved the UserControl which contains the DropDowns outside the TabPanel, the problem disapears. Maybe it has something to do with DropDownList which is in an UpdatePanel
    Posted to Web Forms (Forum) by Ambran on 11/28/2009
  • Re: Why does this error say this literal doesn't exist?

    Hi[quote user="newbie2C#"] UserLogin.ltrlFailureText = "Your login wasn't succesfull. Please try again." ; [/quote] The compiler thinks that you want to access a method within UserLogin by the name "ltrlFailureText", that's why you get this error. The ltrlFailureText control is static so you can access it directly: ltrlFailureText.Text = "Your login wasn't succesfull. Please try again."; Amit
    Posted to Web Forms (Forum) by Ambran on 11/28/2009
  • Re: GridView sorting problem?

    Hi Here is a possible solution: http://forums.asp.net/t/1334872.aspx#2693337 Amit
    Posted to Data Presentation Controls (Forum) by Ambran on 11/28/2009
  • Re: C# web application using a dbacess.cs class

    Hi Here you have a basic DbAccess class which uses OleDB connection. http://www.koders.com/csharp/fidB748F37371AC3007CC680BC33F334D2C311EB6BA.aspx?s=dataset#L22 It includes a method for executing a Select SQL and a method for executing a Insert/Update/Delete SQL. Use the ConfigurationManager class to get the connection string from the Web.config: public DBAccess() { string connString = ConfigurationManager.ConnectionStrings["MyConnString"]; myConn = new OleDbConnection(connString); } Amit
    Posted to C# (Forum) by Ambran on 11/28/2009
  • Re: Asp.net SceenShot, Screen Capture

    Hi Here you have a class that should do the job: http://www.developerfusion.com/code/4630/capture-a-screen-shot/ Use the download link at the top of the page. Amit
    Posted to Web Forms (Forum) by Ambran on 11/28/2009
  • Re: preventing full postback of AutoCompleteExtender

    Hi Have you surrounded it with an UpdatePanel? Post some more code. Amit
    Posted to ASP.NET AJAX Control Toolkit (Forum) by Ambran on 11/25/2009
  • DropDownList Empty after postback

    Hi Ever since I begun working on my current solution, I had this problem. Controls such as DropDownLists returns empty after postback. I populate the DDL in Page_Load inside if(!Page.IsPostback), but consistantly returns empty of items. that's also why it never fires the SelectedIndexChanged event, because the selected index is reset to -1. The DDL is inside an UpdatePanel: <div id="filterDataView_regionsearch_div" class="FilterDataView_regionsearch_div"> <asp:UpdatePanel
    Posted to Web Forms (Forum) by Ambran on 11/25/2009
  • Re: Partial redraw question

    Hi Use UpdatePanel s. Read this page to learn about what it is and how to use it: http://www.asp.net/Ajax/Documentation/Live/overview/UpdatePanelOverview.aspx Amit
    Posted to Getting Started (Forum) by Ambran on 11/24/2009
  • Re: Gridview Colspan

    Hi Here you have it: http://www.codenewsgroups.net/group/microsoft.public.dotnet.framework.aspnet.webcontrols/topic9416.aspx Amit
    Posted to Data Presentation Controls (Forum) by Ambran on 11/24/2009
  • Re: Gridview looses data

    Hi The GridView has to be bound on every postback. If you bind it from an event method, then this method has to be called after every postback in order to populate the GridView. If this doesn't happen, your GridView won't be popuated after postback. Move the GridView population code to a new Sub, and call it when you need: Private Sub PopulateGridView() 'Connect to database and load data into the gridview according to filters Dim strConnString As String = "dsn=oeslive" Dim con
    Posted to Data Presentation Controls (Forum) by Ambran on 11/24/2009
Page 1 of 25 (245 items) 1 2 3 4 5 Next > ... Last »