1
Answer

How to populate information in a Panel on a modal popup from page_load

vinay C D M

vinay C D M

15y
4.6k
1
Hi all,

I have Modalpopup which display when a user clicks on a link on the page. this is working perfectly. I wanted to display some general information from a text file into modal popup.

I have arranged a label and 'close' button in the panel and on page_load from code behind, i am populating the label with text information. This works but looks awkward (u can guess that). the text will vary in size, some-time it is just a single line and sometimes there are paragraphs.....When there are more lines, text information comes of the label and  popup does not look good.

So, i am thinking of removing the label and put information on the Panel itself from Page_load but how to do that? or do i have any better options.

Thanks in advance.
Answers (1)