I am using master pages. I want to put different head and meta (description, keywords) on each content page. How can this be done to make my site better designed for search engines.
Abtec Network Systems
View Complete Post
I would like to present users with unique content based on certain conditions being met as they land on the home page (default.aspx). The condition logic will be in the VB code behind Page Load event. The content will go in a content placeholder as specificed from the master page.
However, the content change wouldn't be something small (ie making a panel or label visible or not) but rather it will be different HTML, Divs and databound gridview content. The HTML content will be stored in the database.
Can someone point me in the right direction for best practices on how to accomplish this?
I usually work with windows forms, and am just starting to work with ASP.Net, so appologies if this is a dumb question!
I have a master page which has a search button on it. The results of this are built up using a Linq statement and if there are any results, I want to display the results in a contents page.
On the masterpage, I have the following code:
Public Overridable ReadOnly Property SearchRes()
Private Sub DoSearch()
'some code to get a linq result
If res.Any Then
_res = res
LabelNoRes.Visible = True
On the SearchResults.aspx page I have this code.
Dim m As pxSite = CType(Page.Master, MasterPage)
If m.SearchRes IsNot Nothing Then
Label1.Text = "Results found = " & m.SearchRes.Count
m.searchRes is always nothing.
What am I doing wrong here?
Here is the content page:
iam using master page and i am using update panel in content pages (child pages)
my questions is that can use updatepanel in every child page or master page only.
give ur suggestions, i have senario , in a page i have file upload concept ,updatepanel
is not support that fileupload.
Overview – We are building a Mobile Web Site using SharePoint 2007. The big screen site has been already built and we need to integrate the
mobile site into same site collection of big screen –
The Mobile site will use the existing content types of existing big screen site
We will build a new custom Master page
i am working on a asp.net mvc 2 website who have a area and i have a problem with them.
i use different different url routing for application settings. i have two folder called style
first folder location in main directory /Style/style.css
second folder location in Area area/style/style.css
everything is work fine in application but when i used style.css from main directory in my area's views then style not worked. when i track them from firebug then i got error "The resource could not be found" but path is correct.
sombody tell me to use absolute path to solve this issue. how i can use absolute path to declare resource url in views.
any suggestion , sollution on this issue who can help me to solve this issue.
I'm using Request.PathInfo to response.redirect as user to a different page ( based on the content after .aspx ). It redirect just fine however, once redirected, the page loses all content from the master page and the CSS link. I've searched and can't find an answer.
Does anyone have a solution for this?