|
where is your css file..!
If it is in the root ..!then it should work
if it is in the folder lets say its in
App_Themes/Theme1/StyleSheet.css
then You have to give
background-image:url(../../images/button4.gif);
depending on the folder..!
one../ should be used..!
if you still has the problem as petr suggests open it in browser and view page source..! and check the image
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
THE CSS file is in the root only.
The browser page source for gridview header row is given below.it seems ok only.
<table cellspacing="0" cellpadding="4" rules="cols" border="1" id="ctl00_ContentPlaceHolder1_grdSoData" style="color:#333333;font-family:Times New Roman,Arial;font-size:Small;border-collapse:collapse;">
<b><tr class="gridHeader"></b> <th scope="col"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$grdSoData','Sort$COLUMN1')" style="color:#333333;">COLUMN1</a></th>
<th scope="col"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$grdSoData','Sort$COLUMN2')" style="color:#333333;">COLUMN1</a></th>
<tr>
I have cleared the browser cache also.But nothing worked.
CC26
|
|
|
|
|
I tried just now its working good..!
First for me also didnt waork i deleted all the cache objects and it worked now..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
THE CSS file is in the root only.
The browser page source for gridview header row is given below.it seems ok only.
<table cellspacing="0" cellpadding="4" rules="cols" border="1" id="ctl00_ContentPlaceHolder1_grdSoData" style="color:#333333;font-family:Times New Roman,Arial;font-size:Small;border-collapse:collapse;">
<b><tr class="gridHeader"></b> <th scope="col"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$grdSoData','Sort$COLUMN1')" style="color:#333333;">COLUMN1</a></th>
<th scope="col"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$grdSoData','Sort$COLUMN2')" style="color:#333333;">COLUMN1</a></th>
<tr>
I have cleared the browser cache also.But nothing worked.
CC26
|
|
|
|
|
|
Hi All,
According to our requirement we are showing highslide when we click on button,this button which is a control of a datalist.we are getting the highslide with the necessary information when we click on the button.
But the thing is when we click on "prev"/"Go back" button of the browser which we can see in all browsers.
It is again loading the highslide,where we are calling the function in the Button "showhighslide".
I dont know what might be the problem?
Can any one help me?
Thankyou In Advance.
|
|
|
|
|
I didnt use High slide ..!
But If u want for picture views ..?
I saw a beautiful control or js for picture presentation i.e. LightBox..!
If Interested click the below link..!
http://www.huddletogether.com/projects/lightbox2/[^]
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi,
I am using asp.net multiview control in one of my forms.Here the prob is - some controls in each view contains dot net validation controls.They are getting fired when I navigate throw the multiview. Please provide the solution for this.
Thanks,
Srinivas Mateti
9440071311
|
|
|
|
|
Make it as a single group
by keeping ValidationGroup name=same for the validators and buttons..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Using whatever control you are navigating through the MultiView...just set the following property of that control
CausesValidation=false
CC26
|
|
|
|
|
Hi! I have a few problems. I have a panel and I want to implement the "mouse_over" method. I managed to implement the "mouse_click" method, because as you know asp.net doesn't provide these methods for a Panel. And also I would like to change the mouse sensitivity while my mouse is over the panel. Can anyone help me please? Any idea is appreciated..
|
|
|
|
|
|
As Petr said, use the DIV tag instead of ASP:Panel. Sometimes panel will not work properly in some browsers, eg.IE8
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Hi,
I just write one more comment if I may ... ASP.NET Panel is DIV. It is rendered as DIV element into DOM. You can use it, there is no doubt about it. Even though there is no intellisense in VS for "onmouseover" it will works well.
<asp:Panel runat="server" ID="pnlPanel" onmouseover="javascript: myAction();">...
|
|
|
|
|
Question about domain names - any way to know where the user came from?
I have multiple domains on a region/language basis. The website is located in a folder. Is there any way for it to know where the user came from? (without user interaction)
Ex: www.qwerty.uk -> Default.aspx gets fired go to i do not know where
www.qwerty.ti -> Default.aspx gets fired go to somewhere over the rainbow inside the same site
Can the adress be passed to the website like a string or something or is it unaware of it?
To sum it up:
I have www.qwerty.com as the main site.
There are two smaller sites www.qwerty.tk and www.qwerty.ti which people can access.
I want my site to know where the user comes from. Did he type www.qwerty.tk and set the language to "this" or did he type www.qwerty.ti and set the language to that.
|
|
|
|
|
As far as my understanding
You want the name of the page from last visited page/site ..?
If it is in your domain i.e. if you can handle the code in both the sites
You can make use of query string..!
create a query string from lastVisited and set it..!
Just pass the querystring last page visited value..!
If this is not your answer looking for sorry..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
you can use the javascript document.referrer[^] but it can be turned off by the browser settings. If it isn't turned off, it gives you the last web site visited.
[edit]Oops: spelled referrer incorrectly[/edit]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
"Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"
|
|
|
|
|
|
I have a datagrid with various BoundColumns and HyperLinkColumns.
All of the columns work great. The problem is that I am creating a list for data entry. If the data has already been entered I want to disable the Entry Hyperlink and Enable the View/Edit Hyperlink, and visa versa if the entry has not been made I want the Entry HyperLink to be Enabled and the View/Edit HyperLink to be Disabled. If there was a way to create an ID for the column I could handle it in the ItemDataBound Event in the behind code, but I have not found a way to create an ID field for the HyperLinkColumn. Could someone assist with a code sample for ASP.NET...
|
|
|
|
|
It could be done easily using this :
.disabledLink
{
color: #333;
text-decoration : none;
cursor: default;
}
Use this Javascript to do this in client side.
function disablelink(linkID)
{
var hlink = document.getElementById(linkID);
if(!hlink)
return;
hlink.href = "#";
hlink.className = "disableLink";
}
or in ItemDataBound use :
ctrl.CssClass = "disabledLink";
ctrl.Href = "#";
It will be disabled.
Why do you require to create ID. If you place the server side ID, you might use ClientId to get what id is generated in the client.
|
|
|
|
|
protected void gvPaymentDetails_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
GridViewRow gvr = e.Row;
if (gvr.Cells[5].Text != " " || gvr.Cells[6].Text != " " || gvr.Cells[8].Text != "0")
{
((LinkButton)(e.Row.FindControl("lbEdit"))).Enabled = false;
((LinkButton)(e.Row.FindControl("lbEntry"))).Enabled = True;
}
else
{
((LinkButton)(e.Row.FindControl("lbEdit"))).Enabled = True;
((LinkButton)(e.Row.FindControl("lbEntry"))).Enabled =False;
}
}
}
I am using this code in my appliction for edit and add button.
|
|
|
|
|
Will ASP.NEt treat the LinkButton the same as the HyperlinkColumn with all of the same properties like DataNavigateUrlField and DataNavigateUrlFormatString?
|
|
|
|
|
i think it will work in hyperlink columns 2 but why dont u use this code
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:LinkButton ID="lnkEdit" runat="server">Edit</asp:LinkButton>
<asp:LinkButton ID="lnkView" runat="server">View</asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
use itemtemplate for hyperlinks
|
|
|
|
|
Where do you handle the actual navigational link and column header information?
|
|
|
|
|
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="lbEdit" runat="server" Text="Edit" OnClick="lbEdit_Click"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
i am redirecting from aspx only.
LinkButton btn = sender as LinkButton;
GridViewRow gvr = btn.NamingContainer as GridViewRow;
string docNo = gvr.Cells[0].Text;
so this way i am fetching row datakey
|
|
|
|