Click here to Skip to main content
15,920,383 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiongetting html code in ascs.cs page Pin
Dhyanga3-Sep-10 7:18
Dhyanga3-Sep-10 7:18 
AnswerRe: getting html code in ascs.cs page Pin
Not Active3-Sep-10 8:17
mentorNot Active3-Sep-10 8:17 
GeneralRe: getting html code in ascs.cs page [modified] Pin
Dhyanga3-Sep-10 8:20
Dhyanga3-Sep-10 8:20 
GeneralRe: getting html code in ascs.cs page Pin
Expert Coming4-Sep-10 22:18
Expert Coming4-Sep-10 22:18 
GeneralRe: getting html code in ascs.cs page Pin
Dhyanga5-Sep-10 0:49
Dhyanga5-Sep-10 0:49 
QuestionProblem with Running Classic ASP page in VS2005 Pin
jintalPatel3-Sep-10 0:25
jintalPatel3-Sep-10 0:25 
AnswerRe: Problem with Running Classic ASP page in VS2005 Pin
Prosanta Kundu online3-Sep-10 2:26
Prosanta Kundu online3-Sep-10 2:26 
Questionopenfiledialog with filter property Pin
yogesh_kumar_agarwal2-Sep-10 19:56
yogesh_kumar_agarwal2-Sep-10 19:56 
AnswerRe: openfiledialog with filter property Pin
Anurag Gandhi2-Sep-10 23:28
professionalAnurag Gandhi2-Sep-10 23:28 
NewsRe: openfiledialog with filter property Pin
Abhijit Jana3-Sep-10 0:23
professionalAbhijit Jana3-Sep-10 0:23 
GeneralRe: openfiledialog with filter property Pin
Anurag Gandhi3-Sep-10 1:47
professionalAnurag Gandhi3-Sep-10 1:47 
Questionasp send mail Pin
swornavidhya_m2-Sep-10 2:47
swornavidhya_m2-Sep-10 2:47 
AnswerRe: asp send mail Pin
Stryder_12-Sep-10 3:20
Stryder_12-Sep-10 3:20 
Questionvalidate dropdownlist into DetailsView Pin
Sandraa2-Sep-10 1:56
Sandraa2-Sep-10 1:56 
QuestionClose iframe Div in javascript Pin
SatyaKeerthi152-Sep-10 0:42
SatyaKeerthi152-Sep-10 0:42 
AnswerRe: Close iframe Div in javascript Pin
Not Active2-Sep-10 1:53
mentorNot Active2-Sep-10 1:53 
GeneralRe: Close iframe Div in javascript Pin
SatyaKeerthi152-Sep-10 2:04
SatyaKeerthi152-Sep-10 2:04 
GeneralRe: Close iframe Div in javascript Pin
Not Active2-Sep-10 4:18
mentorNot Active2-Sep-10 4:18 
Questioncalling a client method from master page Pin
amit_831-Sep-10 20:56
professionalamit_831-Sep-10 20:56 
AnswerRe: calling a client method from master page Pin
Anurag Gandhi1-Sep-10 23:20
professionalAnurag Gandhi1-Sep-10 23:20 
If you want the event handler of Control present in master page, in your content page, you can go do something like this:

protected void Page_Init(object sender, EventArgs e)
   {
       Button btn = (Button)this.Master.FindControl("btnMaster");
       if (btn != null)
           btn.Click += new EventHandler(btn_Click);
   }

   protected void btn_Click(object sender, EventArgs e)
   {
       //Write your Button Click Code Here.//
       Response.Write("Button Clicked.");
   }


where btnMaster is a Button in Master Page. I guess you need to do the same for Menu Item.


amit_83 wrote:
so i wanted make it at client side without triping

If you want to do it in client side, there is no concept of master and content page. Try with some javascript based on the client side code it generated.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.

QuestionDropdown List Template field Pin
vishnukamath1-Sep-10 20:24
vishnukamath1-Sep-10 20:24 
Questionconvert html to csvexport to CSV Pin
Member 38798811-Sep-10 19:55
Member 38798811-Sep-10 19:55 
AnswerRe: convert html to csvexport to CSV Pin
T M Gray2-Sep-10 4:21
T M Gray2-Sep-10 4:21 
QuestionAccessing Parent Page Method from User Control doesnot refresh Pin
Satish_S1-Sep-10 19:29
Satish_S1-Sep-10 19:29 
AnswerRe: Accessing Parent Page Method from User Control doesnot refresh Pin
robocodeboy1-Sep-10 23:30
robocodeboy1-Sep-10 23:30 

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.