Open HTML Pages in ASP.NET
-
Hi, I have some static pages in my application, and i want to open those static pages in the Master page. i want to do so b'coz my static page content keeps on changing, so if i use an HTML page i will not have to re-complie the application. So i want to know how to load that HTML page in some contentplaeholder or may be some other control. Please suggest some another way also if u have it in your mind and may be useful to me. Thanks,
Deepak Surana
-
Hi, I have some static pages in my application, and i want to open those static pages in the Master page. i want to do so b'coz my static page content keeps on changing, so if i use an HTML page i will not have to re-complie the application. So i want to know how to load that HTML page in some contentplaeholder or may be some other control. Please suggest some another way also if u have it in your mind and may be useful to me. Thanks,
Deepak Surana
I had the problem like this and laod the file with
File.ReadAllText
method and put aLabel
on the page(or Masterpage ) , then setLabel.Text
to that string. You can also user Literal Control or some other control I guess.Mazy
"This chancy chancy chancy world....." -
I had the problem like this and laod the file with
File.ReadAllText
method and put aLabel
on the page(or Masterpage ) , then setLabel.Text
to that string. You can also user Literal Control or some other control I guess.Mazy
"This chancy chancy chancy world....." -
I had the problem like this and laod the file with
File.ReadAllText
method and put aLabel
on the page(or Masterpage ) , then setLabel.Text
to that string. You can also user Literal Control or some other control I guess.Mazy
"This chancy chancy chancy world....."please say me are u from persian. ایا شما ایرانی هستید؟
We Can Do Anything, If We Want It
-
please say me are u from persian. ایا شما ایرانی هستید؟
We Can Do Anything, If We Want It
-
please say me are u from persian. ایا شما ایرانی هستید؟
We Can Do Anything, If We Want It