Jump to content

.net Help ....calling Dotnet People...


Recommended Posts

Posted

rolelabel not visible in one of the pages of application
even though visible property is set true
label basically is from master page.
every other page show label from master page except one page

*<:( CITI#H@

Posted

[background=transparent](([/background][color=#2B91AF][background=transparent]Label[/background][/color][background=transparent])[/background][color=#2B91AF][background=transparent]Master[/background][/color][background=transparent].[/background][color=#2B91AF][background=transparent]FindControl[/background][/color][background=transparent]([/background][color=#800000][background=transparent]"mylbl"[/background][/color][background=transparent])).[/background][color=#2B91AF][background=transparent]Visible[/background][/color][background=transparent] [/background][background=transparent]=[/background][background=transparent] [/background][color=#00008B][background=transparent]true[/background][/color][background=transparent];[/background]

[background=transparent]Try this in the content page and see...[/background]

Posted

should be trivial
these kind issues r little bit tough to get help
unless one has access to the code...

pl create a dummy file and see if that page has the label or not ...

then obviously some thing wrong with the page u r not getting which can be debugged by u only

  • Upvote 1
Posted

[quote name='cherlapalli_jailer' timestamp='1378739991' post='1304224909']
should be trivial
these kind issues r little bit tough to get help
unless one has access to the code...

pl create a dummy file and see if that page has the label or not ...

then obviously some thing wrong with the page u r not getting which can be debugged by u only
[/quote]

Agreed

Posted

[quote name='prayaanam' timestamp='1378739901' post='1304224899']
[background=transparent](([/background][color=#2b91af][background=transparent]Label[/background][/color][background=transparent])[/background][color=#2b91af][background=transparent]Master[/background][/color][background=transparent].[/background][color=#2b91af][background=transparent]FindControl[/background][/color][background=transparent]([/background][color=#800000][background=transparent]"mylbl"[/background][/color][background=transparent])).[/background][color=#2b91af][background=transparent]Visible[/background][/color][background=transparent] [/background][background=transparent]=[/background][background=transparent] [/background][color=#00008b][background=transparent]true[/background][/color][background=transparent];[/background]

[background=transparent]Try this in the content page and see...[/background]
[/quote]
Exactly ee line of code content page lo ekkada pettali bhayya..? *<:( CITI#H@

Posted

[quote name='ShockWave' timestamp='1378740996' post='1304224988']
Exactly ee line of code content page lo ekkada pettali bhayya..? *<:( CITI#H@
[/quote]

page load lo pettu... if its not MVC... %$#$

Posted

aa label style visible false undi emoo mayya ... if master styles are overwriting ur present styles.. prayaanam mayya cheppindi chudu ..

Posted

[quote name='prayaanam' timestamp='1378741112' post='1304225000']

page load lo pettu... if its not MVC... %$#$
[/quote]

page load lo pedithe exception vasthundi bhayya...

Object reference not set to an instance of an object

Posted

check if contentplaceholder is set an ID .. label emaina content tag lo unte work cheyadu try to move it out of the tag..

Posted

[quote name='ShockWave' timestamp='1378741532' post='1304225030']

page load lo pedithe exception vasthundi bhayya...

Object reference not set to an instance of an object
[/quote]

It seems It is not finding the control

Did you replace the lable name instead"lbl" ? If not, do it... s%H#

If yes, try this syntax as well...

[b][color=#0000cd][font=Consolas, Menlo, Monaco,]label lbl = [/font][font=Consolas, Menlo, Monaco,][background=rgb(238, 238, 238)]Master.Page.FindControl("lblName");[/background][/font][/color][/b]
[b][color=#0000cd][font=Consolas, Menlo, Monaco,][background=rgb(238, 238, 238)]lbl.visible = true;[/background][/font][/color][/b]
[background=rgb(238, 238, 238)] [/background]
[color=#000000][font=Consolas, Menlo, Monaco,][background=rgb(238, 238, 238)]Its been a while for me. I am working on Telerik reporting for an year now. [/background][/font][/color]

Posted

[quote name='littlemoon' timestamp='1378741552' post='1304225033']
check if contentplaceholder is set an ID .. label emaina content tag lo unte work cheyadu try to move it out of the tag..
[/quote]
Content tag lo ledu.. CITI#H@

×
×
  • Create New...