I already finish a login.aspx which uses the login control.
How to determine the current login status in c# codes?
Any suggestion is welcome.
Many thanks for your replying.
User Profile
Collapse
-
How to determine the current login status in c# codes?
Last edited by jhardman; Nov 19 '07, 11:21 PM. Reason: moved to .NET forum. ASP is written in VBScript or possibly JScript, never in c#, and its extension is .asp, not .aspx -
How to I change the “Create User” button to an ImageButton?
I like to Customize the layout of a CreateUserWizar d component and I would like to chnge the “Create User” button to an ImageButton.
How to do that?
Following is my codes.
[HTML] <asp:CreateUser Wizard ID="CreateUserW izard1" runat="server" OnCreatedUser=" CreateUserWizar d1_CreatedUser" Height="120px" Width="241px">
<WizardSteps>... -
How to change the layout of a TreeView component to this?
http://vincent90152900.myweb.hinet.net/test.htm
Following is my codes and I don’t know how to make the line appeared?
[HTML] <asp:TreeView ID="TreeView1" runat="server" CollapseImageUr l="images/img-icon/icon-book-.gif"
ExpandImageUrl= "images/img-icon/icon-book+.gif" LeafNodeStyle-ImageUrl="image s/img-icon/icon-book+.gif"... -
How to set the X Properties of a ModalPopup on client side codes?
I want to find the position of a selected TreeNode in a TreeView.
Then set the X Properties and Y Properties of the ModalPopup.
And make the panel1 pop up beside the selected node.
Does anyone know how to do that?
Any suggestion is welcome.
Code:<script type="text/javascript"> function FindPosition(elem) { debugger; var id=elem.id;
-
How to get the element’s position on Client Side?
I want to know the position of the TreeNode. Does anyone know how to do that?
Following is my code.
<asp:TreeView ID="TreeView1" runat="server">
<Nodes>
<asp:TreeNode Text="<span onclick='FindPo sition(this)' id='node01'>Nod e 1</span>"
Value="New Node"></asp:TreeNode>
... -
vincent90152900 started a topic How to I use the same ModalPopupExtender in different WebUserControl?in .NETHow to I use the same ModalPopupExtender in different WebUserControl?
In a web page,” Default.aspx”, I have two different WebUserControl, ” WebUserControl1 _1”, and “WebUserControl 2_1” and a ModalPopupExten der,” ModalPopupExten der1” and a Button,” Button1” and a Panel,” Panel1”. When I click the Button1, the Panel1 will pop up.
WebUserControl1 _1 and WebUserControl2 _1 both have a LinkButton,” LinkButton1”. I wish when user click the LinkButton1 in the WebUserControl1 _1 and WebUserControl2 _1,... -
No, I want to pop up different text base on the selected TreeNode of the TreeView.
Many thanks for your replying.... -
I use a ModalPopupExten der to pop up a message, when user clicks a TreeNode of a TreeView and I would like the message pop up beside the selected TreeNode. So, I need to know the position of the selected TreeNode. Any suggestion is welcome....Leave a comment:
-
How to get the position of a selected TreeNode of a TreeView?
How to get the position of a selected TreeNode of a TreeView?
Any suggestion is welcome -
-
How to get the position of a TreeView in a web page?
Following is my code and I want the Panel1 display beside the TreeView1.
I found out the ModalPopupExten der has two property, “X”, and “Y”.
So, I wish I could find out the position of a TreeView1 in a web page and then I can set the “X” and “Y” of the ModalPopupExten der.
Does anyone know how to do that? Or any suggestion is welcome.
[HTML] <asp:UpdatePane l... -
I just find a solution here. Following is my codes.
Default.aspx
[HTML] <asp:ScriptMana ger ID="ScriptManag er1" runat="server" />
<asp:UpdatePane l ID="UpdatePanel 1" runat="server" UpdateMode="Con ditional">
<ContentTemplat e>
<asp:TreeView ID="TreeView1" runat="server"...Leave a comment:
-
vincent90152900 started a topic How to remove Security Question and Security Answer from membership provider?in .NETHow to remove Security Question and Security Answer from membership provider?
How to remove Security Question and Security Answer from membership provider?
Following is my codes. Please tell me how to remove Question and Answer from membership provider. Thank you for replying.
CreateNewWizard .aspx
[HTML] <asp:CreateUser Wizard ID="CreateUserW izard1" runat="server">
<WizardSteps>
<asp:CreateUser WizardStep... -
-
I want to change the Text property like following.
this.Label1.Tex t = this.TreeView1. SelectedNode.Va lue.ToString();
I wish it will need not to refresh the page.
Can this is possible?
Thank you for replying....Leave a comment:
-
I am sorry for misunderstandin g the forum topic.
Sorry for made you unconvinced....Leave a comment:
-
I am sorry to forget to post the c# codes. Here is my codes.
Default.aspx.cs
Code:protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e) { this.Label1.Text = this.TreeView1.SelectedNode.Value.ToString(); }
[HTML]
<asp:ScriptMana ger ID="ScriptManag er1" runat="server">
</asp:ScriptManag er>
...Leave a comment:
-
How to pop up different text base on the selected TreeNode?
How to pop up different text base on the selected TreeNode?
I want to pop up different Text base on the selected TreeNode of the TreeView component. So, I create a TreeView and a ModalPopupExten der. Following is my codes.
Default.aspx
[HTML] <asp:ScriptMana ger ID="ScriptManag er1" runat="server">
</asp:ScriptManag er>
<asp:TreeView ID="TreeView1"...
No activity results to display
Show More
Leave a comment: