Click here to Skip to main content
15,915,818 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Urgent help needed Pin
lili11215-Sep-08 22:07
lili11215-Sep-08 22:07 
GeneralRe: Urgent help needed Pin
Ashfield16-Sep-08 8:51
Ashfield16-Sep-08 8:51 
AnswerCP Ignore Pin
leckey15-Sep-08 7:53
leckey15-Sep-08 7:53 
GeneralRe: CP Ignore Pin
Paul Conrad15-Sep-08 9:59
professionalPaul Conrad15-Sep-08 9:59 
AnswerRe: Urgent help needed Pin
Paul Conrad15-Sep-08 9:57
professionalPaul Conrad15-Sep-08 9:57 
Questiononrowclick of gridview Pin
eyeseetee15-Sep-08 3:34
eyeseetee15-Sep-08 3:34 
AnswerRe: onrowclick of gridview Pin
chandralekha15-Sep-08 20:47
chandralekha15-Sep-08 20:47 
QuestionHow can retrieve the selected menu item? Pin
JUNEYT15-Sep-08 2:17
JUNEYT15-Sep-08 2:17 
Hi!

I have a menu in my master page file. I was checking to see if selected menu item was going to be assigned to Label's text property (which is inside a content file). However it seems that the procedure is not functioning somehow. If you enlighten me about the problem, I would really appreciate it.

Thanks.

<br />
admin.master.vb<br />
-------------------------------------------------------------------------------------------------------<br />
Public Partial Class admin<br />
    Inherits System.Web.UI.MasterPage<br />
<br />
    Public SelectedMenu As String = Nothing<br />
<br />
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
<br />
    End Sub<br />
<br />
    Private Sub Menu1_MenuItemClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MenuEventArgs) Handles Menu1.MenuItemClick<br />
       <br />
        'when I click one item, the menu should be invisible but it doesn't work<br />
        <br />
        Menu1.Visible = False<br />
        SelectedMenu = Me.Menu1.SelectedItem.Text    <br />
    End Sub<br />
End Class<br />
<br />
    'The label is inside a content file<br />
<br />
    Label1.text =<%=SelectedMenu%><br />



What a curious mind needs to discover knowledge is noting else than a pin-hole.


QuestionFile Upload Pin
sowmya k15-Sep-08 1:55
sowmya k15-Sep-08 1:55 
AnswerRe: File Upload Pin
surender93915-Sep-08 2:35
surender93915-Sep-08 2:35 
AnswerRe: File Upload Pin
balaji.t15-Sep-08 2:38
balaji.t15-Sep-08 2:38 
AnswerRe: File Upload Pin
balaji.t15-Sep-08 2:39
balaji.t15-Sep-08 2:39 
QuestionHow to update value of class field of one classs when u r working in othet class in javascript Pin
Member 465900115-Sep-08 1:54
Member 465900115-Sep-08 1:54 
QuestionIs there a .NET image control that supports zoom, navigation and "pushpin" markers? Pin
zeroid14-Sep-08 23:58
zeroid14-Sep-08 23:58 
QuestionForce Login Page Pin
omlac14-Sep-08 23:38
omlac14-Sep-08 23:38 
AnswerRe: Force Login Page Pin
Sandeep Akhare15-Sep-08 0:03
Sandeep Akhare15-Sep-08 0:03 
AnswerRe: Force Login Page Pin
omlac15-Sep-08 0:19
omlac15-Sep-08 0:19 
GeneralRe: Force Login Page Pin
Sandeep Akhare15-Sep-08 0:21
Sandeep Akhare15-Sep-08 0:21 
AnswerRe: Force Login Page Pin
Sunil Wise15-Sep-08 0:57
professionalSunil Wise15-Sep-08 0:57 
AnswerRe: Force Login Page Pin
surender93915-Sep-08 2:40
surender93915-Sep-08 2:40 
AnswerRe: Force Login Page Pin
fickendichdu15-Sep-08 4:59
fickendichdu15-Sep-08 4:59 
GeneralRe: Force Login Page Pin
omlac15-Sep-08 21:31
omlac15-Sep-08 21:31 
GeneralRe: Force Login Page Pin
fickendichdu16-Sep-08 3:47
fickendichdu16-Sep-08 3:47 
QuestionExtending membership class.URgent!!! Pin
highjo14-Sep-08 23:11
highjo14-Sep-08 23:11 
AnswerRe: Extending membership class.URgent!!! Pin
Paul Conrad15-Sep-08 12:12
professionalPaul Conrad15-Sep-08 12:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.