i am doing membership walkthrough from msdn. at one step it says set default.aspx as start page. i set it as required but when i start website the login.aspx appears instead of default.aspx
hassanmohamed
Posts
-
set as start page ignored -
register user control non declarativelyi have a problem. please help. user control is dynamically added when gridview is selected( invoice number is selected) so far so good. but when a second selection is made the previous control appears again, naturally. so i want to register usercontrol a new every time grid is selected, how can i do that?
-
label viewstate not preservedi see many people had posted this problem. can some one please help. i have a user control with asp:label on it. the label loses its text on postback it is now a whole month i am trying to find a work around but no success.
-
detailsview does not updatei m trying to select ,update,insert,delete data using detailsview control. i get error: too many parameters for proc or func.. the params in the sqldatasource are exactly the same as those on the stored proc (6)
-
some controls on user control do not preserve viewstatei have in a usercontrol drpdwnlst, hyplnk, textbox and label drpdwnlst and hplnk do not keep their values on postback the rest do i have the usercontrol added dynamically to placeholder. all code ajaxed
-
do not have step out option in debuggeri have a break point and when i am pressing F10 to step over (which is present in the debug menu) but step out is not there in the debug menu! so if had found the problem i want to step out of the function but i can not do that i need to keep stepping over until the end of program
-
do not have step out option in debuggeri am using vs2008 in the debug menu there is no step out option.
-
add/remove user (Neil Meredith control problem)i used similar code by Neil Meredith. dynamically i add four user cntrls. when i delete the first i run into trouble(cant delete a second cntrl etc). however there is no problem with the rest. ]]> ]]> Untitled Page
Destination
Delete
public partial class SmplAuditInv : System.Web.UI.UserControl { public delegate void DeleteDl(object s, EventArgs e); public DeleteDl del; protected void Page_Load(object sender, EventArgs e) { } protected void CheckBox1_CheckedChanged(object sender, EventArgs e) { del(sender, e); } } public partial class SmpAudTest : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { AddAndRemoveDynamicControls(); } private void AddAndRemoveDynamicControls() { // AurecDataAccess ada = new AurecDataAccess(); // DataSet ds = ada.TestAuditInv(); ph1.Controls.Clear(); SmplAuditInv Cntrl = null; int ControlID = 0; while (InDeletedList("uc" + ControlID)) { ControlID += 1; } //foreach (DataRow dr in ds.Tables[0].Rows) for (int i = 0; i < 4;i++ ) { if (!InDeletedList("uc" + ControlID)) { Cntrl = (SmplAuditInv)LoadControl("SmplAuditInv.ascx"); Label lb1 = (Label)Cntrl.FindControl("destLabel"); lb1.Text = "Dest:"+i; Cntrl.ID = "uc" + ControlID; Cntrl.del += new SmplAuditInv.DeleteDl(HandleRemoveUserControl); ph1
-
cannot bind gridview to a second sqldatasource programaticallybut i found people use 2 sqldatasources to bind to gridview alternatingly..my experience with such endeavour was absolute failure..i dont know why. yes i can do the dataset option
-
cannot bind gridview to a second sqldatasource programaticallywhat??!!!can you explain a little bit
-
cannot bind gridview to a second sqldatasource programaticallyHi at run time i bind gridview to sqldatasource1 at some point. when i try to change datasource to sqldatasource2 at another point i get error. in many other occasions i found it is impossible to change datasource for a gridview any attempt to change will cause problem as if gridview has been corrupted