Click here to Skip to main content
15,919,479 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Website Execution Time Pin
eyeseetee30-May-08 1:11
eyeseetee30-May-08 1:11 
GeneralRe: Website Execution Time [modified] Pin
Brendan Vogt30-May-08 1:17
Brendan Vogt30-May-08 1:17 
GeneralRe: Website Execution Time Pin
eyeseetee30-May-08 1:31
eyeseetee30-May-08 1:31 
GeneralRe: Website Execution Time Pin
Brendan Vogt30-May-08 1:40
Brendan Vogt30-May-08 1:40 
QuestionUser Control with child controls: Nesting and rendering issues Pin
horc30-May-08 0:35
horc30-May-08 0:35 
AnswerRe: User Control with child controls: Nesting and rendering issues Pin
Sandeep Akhare30-May-08 0:52
Sandeep Akhare30-May-08 0:52 
GeneralRe: User Control with child controls: Nesting and rendering issues Pin
horc30-May-08 1:51
horc30-May-08 1:51 
GeneralRe: User Control with child controls: Nesting and rendering issues Pin
Member 455464930-May-08 3:09
Member 455464930-May-08 3:09 
Why do you want to use user/custom control for it ?
In the Page Itself you can create a method that will handle this functionality. I suppose that you have to make this functionality at server side.
So your function will check user role like this
if(UserRole=="Admin")
{
this.ShowHide(true);
}
private void ShowHide(bool isAdmin)
{
( List of All control to Show)=isAdmin;

( List of All control to Hide)=!isAdmin;

}
Note if there are many controls give id to row and hide this row

Is that you want ?
I think you are thinking/doing some complex logic here
GeneralRe: User Control with child controls: Nesting and rendering issues Pin
horc30-May-08 4:06
horc30-May-08 4:06 
GeneralRe: User Control with child controls: Nesting and rendering issues Pin
Sandeep Akhare1-Jun-08 23:20
Sandeep Akhare1-Jun-08 23:20 
Questionhow can i know session (object) is expired Pin
vijaylumar30-May-08 0:22
vijaylumar30-May-08 0:22 
AnswerRe: how can i know session (object) is expired Pin
eyeseetee30-May-08 0:44
eyeseetee30-May-08 0:44 
Questionconsuming webservices Pin
madhavi.kona29-May-08 23:58
madhavi.kona29-May-08 23:58 
AnswerRe: consuming webservices Pin
Vasudevan Deepak Kumar30-May-08 0:08
Vasudevan Deepak Kumar30-May-08 0:08 
GeneralRe: consuming webservices Pin
madhavi.kona30-May-08 1:02
madhavi.kona30-May-08 1:02 
QuestionContent Rotator in Asp.net Pin
kalyan_vb29-May-08 23:33
kalyan_vb29-May-08 23:33 
AnswerRe: Content Rotator in Asp.net Pin
Vasudevan Deepak Kumar29-May-08 23:43
Vasudevan Deepak Kumar29-May-08 23:43 
QuestionCollections in JavaScript Pin
M. J. Jaya Chitra29-May-08 23:32
M. J. Jaya Chitra29-May-08 23:32 
AnswerRe: Collections in JavaScript Pin
Vasudevan Deepak Kumar29-May-08 23:44
Vasudevan Deepak Kumar29-May-08 23:44 
GeneralRe: Collections in JavaScript Pin
M. J. Jaya Chitra29-May-08 23:53
M. J. Jaya Chitra29-May-08 23:53 
GeneralRe: Collections in JavaScript Pin
M. J. Jaya Chitra30-May-08 0:42
M. J. Jaya Chitra30-May-08 0:42 
GeneralRe: Collections in JavaScript Pin
Sandeep Akhare30-May-08 1:00
Sandeep Akhare30-May-08 1:00 
GeneralRe: Collections in JavaScript Pin
Vasudevan Deepak Kumar30-May-08 1:03
Vasudevan Deepak Kumar30-May-08 1:03 
GeneralRe: Collections in JavaScript Pin
M. J. Jaya Chitra30-May-08 1:07
M. J. Jaya Chitra30-May-08 1:07 
GeneralRe: Collections in JavaScript Pin
Vasudevan Deepak Kumar30-May-08 1:14
Vasudevan Deepak Kumar30-May-08 1:14 

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.