.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Tag Portions of an HTML page "do not index"

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :SharePoint
We have a lengthy flyout menu that appears in the left column of every page on our website.  Is there any way to tell Search Server (Express 2010) to NOT index those repetitive, irrelevant sections of pages?  Thanks for any ideas.

View Complete Post

More Related Resource Links

Re-positioning an HTML container with javascript onresize with a Master page.


I have an HTML <div> container that I float to the right of a gridview.  When the browser window is maximized, it looks fine.  When minimized, the gridview positions below the floating container and most of the data is pushed off the bottom of the browser - you have to scroll down to see it.

If I position the floating container above the gridview it looks fine in a minimized window, but looks real bad when maximized.

What I want to do is use a javascript: onresize event to re-position the floating container up or down depending on the window.inner.width AND do it with a Master/Content page structure AND do it for only the one page where needed.

I can capture the onresize event and display the window dimensions but haven't figured-out how to do it with a Content page that still uses the Master page.  I think I'm having a very "thick" week...

- Tinker


Page Header, PrintOnFirstPage=False, HTML render fine, PDF export leaves extra space

As it says in the header.Setup:SSRS 2008, VS 2008 SP1Local Mode, rdlc fileDesign:Make a 1/2" Page header with a text box in it. Set PrintOnFirstPage=FalseBody contains a Table that spans multiple "hard" pages.Results:Renders to HTML in the report viewer just fine.PDF export leaves blank 1/2" at the top of page 1. With no header for page 1, I had hoped it would remove the extra space the same as in the report viewer.Question:Any way to tell SSRS not to leave space when page header is turned off for the first page?Attempts:Tried putting everything in a rectange in the header and set the visibility to false. Still leaves space.

Want to convert html page into pdf format & send same pdf as a attachment

Dear All i want to convert html page into pdf format & i have to send that same pdf  by attachment,if some one has the sample code , please send me

display codes (asp or html) on web page

hello.....i am wishing to display asp or html codes on my web page. actually i am working on article project and article includes codes too. still i am using <iframe> but not looking soo good.i am also wishing to dispaly codes in a way that can be expand or collapsed using (+) sing, as you also know. or tell me any alternative to accomplish. thanks in advance

Replacing HTML tag on Page Load

Hi,I have  a css menu on a master page:<ul> <li id="mb_home" runat=server><a href="default.aspx">Home</a></li> <li id="mb_cars" runat=server><a href="terms.aspx">Cars</a></li> <li id="mb_faq" runat=server><a href="terms.aspx">FAQ</a></li> </ul>what i am trying to achieve is that. when any of the links is clicked. the <a href> tags are replaced by <span> tags. Is this possible? i tried playing aroung with HtmlGenericControl class but i could not solve it.Any advice will be appreciated.

"System.Web.Mvc.Html.MvcForm" in the top of page

on my MVC webforms there is a text in the top of the form as "System.Web.Mvc.Html.MvcForm". how can i remove this? Please help. Thanx in advance.  

Reg:Html interaction with aspx page

hello All, Does anyone know how to call or is it possible to call server side method(aspx.cs) from .html page please help

Help with HTML page using MVC



I am new to ASP.NET MVC and am trying to create an application. It is a simple calculator. I want to build an HTML page that has a form with two text boxes and a submit button. I'm going to add instructions for the user that tells them to put a number in each of the two text boxes. When they click submit, the next screen should display the sum of the two numbers in the text boxes, and the form should submit using a get method. Any help, code and advice you could give me to accomplish this would be greatly appreciated. Thank you so much in advance!

Basic Web Forms Question Regarding Returning Html To The page


I have a web application I am working on but this is using simple web forms.

Long story short I want to create a commenting system similar to that of google sites for example.

All comments are saved to the database against a user id and submission id (meaning they are relevant to the page they are presented on).

Currently I am displaying them in a table using GridView which is kinda well annoying.

Is there anyway to return custom HTML from the server to a palceholder control or something of the like.

Basically run a for loop and fill up a placeholder control with html that will render appropriatelly

I know, its basic but I am a total noob.

how will take the html controls value from source code to code behind of asp.net page


i created a calendar user control in asp.net+c#.it have two html text boxes and one img button.but i dont know ,how will take
the values to code behind of asp.net from html text boxes values at runtime on the onclick of html img button.....Any ideas????.

This is my main code


      <div>View from:</div>
         <div>  <input type="text" name="showdia" id="showdia" size="9" value="10/04/2010"><input onclick="return showCalendar('showdia', 'mm/dd/yyyy');"  type="image" src="images/cal.gif" align="absmiddle" name="reset" style="cursor:pointer"></div> 
         <div>  <input type="text" name="showdiafin" id="showdiafin" size="9" value="10/04/2010"><input onclick="return showCalendar('showdiafin', 'mm/dd/yyyy');" type="image" src="images/cal.gif" name="reset" style="cursor:pointer" align="absmiddle"></div>
    <div align="center" style="padding:3px;"> <img src="images/language/english/view.g

Delay html page load ( keep internet explorer busy )


hello , I am sorry this might not be the best forum to ask but I always get helped here , I need html or javascript code that can delay the load of my html page , as i am having a full html website with no asp.net or c# or anything , and I need to keep the internet explorer thing above (spinning) and the progress bar working , as I need the result of this to be true


SHDocVw.InternetExplorer.Busyto be "True" , anyone can help please I really need that .

How to create html page to asp.net Page using asp.net , Jquery,XMl

My Html Page
<table id="ritu">
   <tr><td> Name</td> <td><td><td><td></tr>
   <tr><td> Father Name</td> <td><td><td><td></tr>
   <tr><td> Age</td> <td><td>Sex<td><td></tr>

  My Output is
     <asp:lable id="lbl_Name" runat="server/>
    <asp:textbox id="txt_Name runat="Server"/>

   <asp:lable id="lbl_FatherName" runat="server/>
    <asp:textbox id="txt_FatherName" runat="Server"/>

<asp:lable id="lbl_Age" runat="server/>
    <asp:textbox id="txt_Age runat="Server"/>
<asp:lable id="lbl_sex" runat="server/>
    <asp:textbox id="txt_sex runat="Server"/>

Master Page HTML IMG Path issue


This is directory structure

Project >> Portal >> Images >>Inside these are images

Project >> Portal >> StyleSheet>>Inside these are styelsheet

Project>> Portal >> Master Page

Project >> Portal >> Signup >> Web form using master pages

Image path on master page

<img src="images/logo.jpg" />

but this image doesn't show up in the web form, I could use ASP image tag to solve this issue, is there any other way out? HTML does understand this ~

html to asp.net page via javascript?


Hi there,

was trying to (unsuccessfully) find this, was hoping someone heard of such thing. I'm have an html as a home page which loads very fast, and so I prefer to leave it instead of getting an .aspx page for a home page. What I want to do is to have a search box on this html page... my question is, is there anyway I can pass information from an html page (via javascript?) to an asp.net page (which would be connected to an sql database)? I was thinking of search strings? has anyone seen a script for sending out a search string like that? My javascript is a bit rusty - would be much appreciated!

any other ideas other than search strings?



Cannot Edit Multiple Publishing Html Fields (Additional Page Content Fields)



I’ve added new Columns of type HTML, I’ve added these columns to my content type and the follow in my page layout:

<div id="featureArea">

<PublishingWebControls:RichHtmlField ID="rhfFeatureArea" FieldName="FeatureArea"

Show Tag Properties in SPD 2007 is rendering page in html


In Designer 2007 I am trying to see the properties of my ListFormWebPart. When I try to see the tag properties, the tag properties popup comes up, but instead of showing my all the properties configurations, the .aspx page renders in the popup!

I am really hating SharePoint and Designer.  It's the buggiest thing I've ever seen.

There are no mistakes; every result tells you something of value about what your are trying to accomplish.

Can only edit a page in a Wiki site in raw HTML

A particular user can logon to SharePoint 2007 companyweb site Wiki and create a new page. However, when he tries to edit the page (or any page) it opens up the editor in raw HTML only. He cannot get the wysiwyg (rich text?) editor. He is using IE7 but the same happens in all browsers. Any ideas?? THanks!
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend