Search

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

Matching Posts

  • get contact details from exchange 2003 using ado.net

    hello, i need to get details like user's phone number from it's contact details in Exchange Server 2003, i have to do this using ado.net or other alternatives thanks
  • Re: events not firing when adding controls dynamically

    the problem is that under each row that i add wich contains (txt, dll, imagebuttons) i have to add so diffrent controls when click on imagebutton txt dll imagebutton txt dll imagebutton (when click on imagebutton) --------------------------------------- create row (after imagebutton is clicked) whick contains other controls --------------------------------------- txt dll imagebutton txt dll imagebutton So i have to break the Panel to add the imagebutton_click event row
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    it's exactly the same problem :(
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    this is the code, is only one panel using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class _Default : System.Web.UI.Page { Panel pnlPanel; protected void Page_Load(object sender, EventArgs e) { //Dynamic TextBox Panel pnlPanel = new
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    i think is beacause of viewstate= false, the controls features are not kept anymore
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    No, each time i click add button i add a txt and a ddl, code works fine for adding, the problem is on arranging the controls i add : txt ddl txt ddl txt ddl and the it looks : txt txt txt ddl ddl ddl
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    Yes, i don't have the error anymore, but i have a problem Each time a add a textbox and a ddl, the problem is that when recreated the controls are aranged by type, i mean n*textboxex and n*ddls, is there a solution to resolve this?
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    I am getting an error when trying to add textboxes and ddls in the same placeholder, the error is: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request. i think this might be in accordance with what sumitd says about the
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    hello again mudassarkhan, thanks a lot, you are right, the changes you have done now i have added before except for the test if the name of the control contains "EVENTTARGET" i've made a debug and after setting the autopostback and adding the SelectedIndexChanged the controls were not recreating properly; due to this additional change that you have done the code is working good now thanks
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
  • Re: events not firing when adding controls dynamically

    I have added them, they have been there before, here is the code, first in the protected void btnAdd_Click(object sender, EventArgs e) if (btn.ID == "btnAddDdl") { int cnt = FindOccurence("ddlDynamic"); DropDownList ddl = new DropDownList(); ddl.AutoPostBack = true; ddl.ID = "ddlDynamic-" + Convert.ToString(cnt + 1); ddl.Items.Add(new ListItem("One", "1")); ddl.Items.Add(new ListItem("Two", "2")); ddl.Items.Add(new ListItem("Three"
    Posted to Web Forms (Forum) by tudorb on 6/11/2009
Page 1 of 3 (25 items) 1 2 3 Next >