Сan`t replace span to <h> in TopicPage

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 14 ans
alexlin wrote:
Hi,
Is it work properly?

What is html source code you get?

Thanks


the normal one :)
<div class="nop-content-title">
    <h1>
        Welcome to our store
    </h1>
</div>
<div class="nop-container">
    <div class="nop-container-body">
        Online shopping is the process consumers go through to purchase products or services
        over the Internet. An online shop, eshop, e-store, internet shop, webshop, webstore,
        online store, or virtual store evokes the physical analogy of buying products or
        services at a bricks-and-mortar retailer or in a shopping mall.
    </div>
</div>

i think you're doing something wrong. are you really sure you've replaced the labels with literals. i mean don't replace the <asp:Label... to <asp:Literal... delete the entire label and add a literal... like i did above.
Il y a 14 ans
Hi,
It`s easy, but i know what a problem in my solution.
When i run, i get

[quote]
<span id="ctl00_ctl00_cph1_cph1_ctrlHomePageText_topicHomePageText_lblTitle">My Home Page</span>
[/quote]

lblTitle it`s a control Label.
When i use Literal with id ltrTitle  
I still get
lblTitle in id
How can i make clear solution properly.
Option "Clean Solution" in VS2008 not help.
Thx
Il y a 14 ans
alexlin wrote:
Hi,
It`s easy, but i know what a problem in my solution.
When i run, i get

[quote]
<span id="ctl00_ctl00_cph1_cph1_ctrlHomePageText_topicHomePageText_lblTitle">My Home Page</span>


lblTitle it`s a control Label.
When i use Literal with id ltrTitle  
I still get
lblTitle in id
How can i make clear solution properly.
Option "Clean Solution" in VS2008 not help.
Thx [/quote]

In VS you'll have 3 files: Topic.aspx, Topic.aspx.cs and Topic.aspx.designer.cs. In designer.cs you'll find the lblTitle. Replace it from there with a literal.
Il y a 14 ans
I deleted all on 3 pages.
Where can i find .dll (Bin directory)?
I want to delete them and rebuild solution.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.