.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

remove link dotted border

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ASP.Net


How to make sure when a link (<a>) is clicked the dotted border will not appear.

I added a single anchor link to a page then add the following css class :



But this didn't stop the dotted border from appearing when I click the link.Is there any other way that could stop that border from appearing in all browsers whatever using JQuery or CSS ?

View Complete Post

More Related Resource Links

How to remove underline from Hyperlink and change the color of the link

How to remove underline from Hyperlink and change the color of the link

remove upload multiple files link from upload.aspx..

hi, is there a way to remove the upload multiple files link from upload.aspx..without using any custom coding.

Is it possible to remove 'SharePoint Designer Settings' link from Site collection Adminitration Se

Is it possible to remove the link 'SharePoint Designer Settings' from the Site Collection Administration section of settings page.

Programmatically remove link from lookup field

I've found this link describing an approach to remove the link from a lookup field via javascript. Is there an other way except adding a content editor webpart to every site with lookup fields? Like setting a property for the lookup field? Thanks

Need to remove the border from gridview header


I have created a custom gridview that show "Select All | Clear All" hyper links in header to select the checkboxes in the gridview. That means that I have added these two hyperlink controls to the gridview header and am not showing the actual column headers.

        private void CreateMyHeader()
            GridViewRow row = new GridViewRow(0, -1, DataControlRowType.Header, DataControlRowState.Normal);
            TableCell th = new TableHeaderCell();

            th.HorizontalAlign = HorizontalAlign.Left;
            th.ColumnSpan = this.Columns.Count+1;
            th.Font.Bold = false;
            th.BorderStyle = BorderStyle.None; //Not working

            HyperLink hlCtl1 = new HyperLink();
            hlCtl1.ID = "{0}_HeaderLink1";
            hlCtl1.NavigateUrl = "javascript: SelectAll(true)";
            hlCtl1.Text = this.HeaderSelectAllLinkText;

            Label lblSeparator = new Label();
            lblSeparator.Text = this.HeaderLinkSeparator;

            HyperLink hlCtl2 = new HyperLink();
            hlCtl2.ID = "{0}_HeaderLink2";
            hlCtl2.NavigateUrl = "javascript: SelectAll(false)";
            hlCtl2.Text = this.HeaderClearAllLinkText;

how to remove system-based border on the active "accept" button on WinForm


I have created a custom button and placed it on to a win form. The button has an image and I remove all border. Here is the snippet of the custom button class...

this.FlatAppearance.BorderColor = SystemColor.Control;

this.FlatAppearance.BorderSize = 0

this.FlatStyle = FlatStyle.Flat

This code line remove any border and make button look like an image button when it got focus or clicked.

Now the problem is when I set the win form AcceptButton property and assign this button name to this property to make this button as default button (when press enter from keyboard will execute the button eventhandler), I could see a border around the button control. Is there any way/property/override to remove this feature or any other workaround?

Quick response would be highly appreciated.




People search - remove My Site link URL?

Is it possible to remove the URL link to My Sites from the People Search? If so, how can this be achieved?

MSDN Abstract Classes Link

MSDN Reference For Abstract Clases

Remove #Region from whole web site


Hi All,

I need to deliver source code to client and my boss need to remove all the comments and #region sections from the whole web site source code.

So is there any functionality available in visual studio 2010 or may be in an other 3rd party tool available to do so, which can remove all the #region from all over the source code ?

Otherwise my developers has to do donkey work.... :(( and I don't wish it. 

Any help or tips/tricks would be appreciated.


video tutorial link for composite and rendered custom server control


hii all

i am new to technology so go easy on this post

according to what i read from web there are 3 type of custom server controls

1 superclass

2 composite

3 rendered

i found video tutorial for superclass custom server control but couldnt find video tutials for other 2.

please forward me link for composite and rendered custom server controls video tutorial  

Html Link Button


Hi All,

I would like to create a html link button(in aspx page) so that the page could not post back and some controls to display on clicking link button.

Can any one of you help me regarding this issue?

Let me know if you have any queries.



Web deployment project - web.config section replacement does not add remove tag


I have a web application that is actually installed as a component of a third party site.  In some configurations, I need to remove certain connection strings and re-add them.  I'm replacing this web.config section with a xml file that includes the following:

      <remove name="MyOverridenConnection"/>
      <add connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDb;Data Source=MyServer" name="MyOverridenConnection"

For some reason the remove tag is left out during the substitution and I end up with the following in the installed config:

      <add connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDb;Data Source=MyServer" name="MyOverridenConnection"

Is there any way to issue removes in replaced sec

How to display related tables in one crystal report and how to link this report with combobox?


Hi! I want to display a crystal report in my vb.net application. Suppose I have tables named student details, student marks, student address, etc... Now if I want to display all these details (fields of all tables) in one crystal report (with page breaks if necessary) then how will I achieve it. I will be providing a combo box in my application that contains list of student names. How can I link this combo box with the cystal report to dynamically display report for different student on selected index change of combo box? Help me friends. An example would be appreciable.

Remove characters in a string


i have a string like this   sravani/, asdfff/, lsdsf/
i want to remove last character '/'  in the above string...
which function can i use?

pls help me....

How to get a link within a label


<asp:Label ID="UiMatchAll" runat="server" CssClass="sans-serif-small-bold-SHAMU" Text="Match all of the following criteria..." />


I have this label but I want my text to contain a link, the word "all" I want to be a link so that it looks like "Match all of the following criteria..."  you know with the all underlined representing a link.....



How To Remove a Query Parameter from a URL


for a string such as this:


how would I remove the parameter id 12?


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