Click here to Skip to main content
15,910,603 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to hide/show a button in a gridview depending on the userid and 'role' Pin
AprNgp11-Aug-08 22:58
AprNgp11-Aug-08 22:58 
GeneralRe: How to hide/show a button in a gridview depending on the userid and 'role' Pin
eyeseetee11-Aug-08 23:24
eyeseetee11-Aug-08 23:24 
GeneralRe: How to hide/show a button in a gridview depending on the userid and 'role' Pin
AprNgp11-Aug-08 23:30
AprNgp11-Aug-08 23:30 
GeneralRe: How to hide/show a button in a gridview depending on the userid and 'role' Pin
AprNgp11-Aug-08 23:32
AprNgp11-Aug-08 23:32 
GeneralRe: How to hide/show a button in a gridview depending on the userid and 'role' Pin
eyeseetee11-Aug-08 23:56
eyeseetee11-Aug-08 23:56 
GeneralRe: How to hide/show a button in a gridview depending on the userid and 'role' Pin
AprNgp12-Aug-08 7:10
AprNgp12-Aug-08 7:10 
QuestionRe: How to hide/show a button in a gridview depending on the userid and 'role' Pin
AprNgp12-Aug-08 22:32
AprNgp12-Aug-08 22:32 
QuestionStyle.Add performance Pin
Gennady Oster11-Aug-08 22:10
Gennady Oster11-Aug-08 22:10 
Hi !

Is there any known performance issues concerning run-time manipulation with Style object ?

I used ANTS profiler to profile my application and suddenly found that the following Style.Add statement is one of the slowests:
<br />
       tb = (Table)this.FindControl("ContentTable");<br />
       if (tb != null)<br />
       {<br />
           if (this.Language == InputLanguage.Hebrew)<br />
           {<br />
               tb.Style.Add(HtmlTextWriterStyle.Direction, "rtl");<br />
<br />
           }<br />
           else<br />
           {<br />
              tb.Style.Add(HtmlTextWriterStyle.Direction, "ltr"); <br />
           }<br />
        }<br />
<br />

If those performance issues are exist, is there any work around?

Thanks in advance.
Regarads,
Gennady
AnswerRe: Style.Add performance Pin
Sandeep Akhare11-Aug-08 22:57
Sandeep Akhare11-Aug-08 22:57 
GeneralRe: Style.Add performance Pin
Manas Bhardwaj11-Aug-08 23:01
professionalManas Bhardwaj11-Aug-08 23:01 
GeneralRe: Style.Add performance Pin
Gennady Oster11-Aug-08 23:32
Gennady Oster11-Aug-08 23:32 
GeneralRe: Style.Add performance Pin
Sandeep Akhare12-Aug-08 0:53
Sandeep Akhare12-Aug-08 0:53 
GeneralRe: Style.Add performance Pin
Gennady Oster13-Aug-08 20:08
Gennady Oster13-Aug-08 20:08 
QuestionAdding more drop down lists on link click Pin
gottimukkala11-Aug-08 21:42
gottimukkala11-Aug-08 21:42 
AnswerRe: Adding more drop down lists on link click Pin
Christian Graus11-Aug-08 22:08
protectorChristian Graus11-Aug-08 22:08 
QuestionRe: Adding more drop down lists on link click Pin
gottimukkala12-Aug-08 1:15
gottimukkala12-Aug-08 1:15 
Questionhow to use master page Pin
umeshdaiya11-Aug-08 21:02
umeshdaiya11-Aug-08 21:02 
AnswerRe: how to use master page Pin
Christian Graus11-Aug-08 21:20
protectorChristian Graus11-Aug-08 21:20 
AnswerRe: how to use master page Pin
Sandeep Akhare11-Aug-08 21:20
Sandeep Akhare11-Aug-08 21:20 
GeneralRe: how to use master page Pin
umeshdaiya11-Aug-08 21:50
umeshdaiya11-Aug-08 21:50 
GeneralRe: how to use master page Pin
Sandeep Akhare11-Aug-08 22:28
Sandeep Akhare11-Aug-08 22:28 
AnswerRe: how to use master page Pin
eyeseetee11-Aug-08 21:40
eyeseetee11-Aug-08 21:40 
GeneralRe: how to use master page Pin
umeshdaiya11-Aug-08 21:54
umeshdaiya11-Aug-08 21:54 
GeneralRe: how to use master page Pin
eyeseetee11-Aug-08 21:59
eyeseetee11-Aug-08 21:59 
GeneralRe: how to use master page Pin
Christian Graus11-Aug-08 22:07
protectorChristian Graus11-Aug-08 22:07 

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.