|
how to change the linkbutton text name through javascript when aother button is clicked and how to retrive the same changed value in this button click method
|
|
|
|
|
I believe the link button is rendered as A (HtmlAnchor). You can manipulate the InnerText property of the same, I guess.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
yes wat u said that only i did ..it is changing the text but when calling in the server side as linkbutton.text then it is not showing the changed the text value
|
|
|
|
|
Yep. That was expected right? Do you want to preserve the old value also? Then you can have some custom attribute emitted the first time and tag the value to it. Or have some hidden field in the form, to preserve it.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Not too sure about Link Buttons, but here is a possible code-sample:
function hideButton()
{
var b1 = document.getElementById('Button1');
void(b1.style.visibility = 'hidden')
}
-= Reelix =-
|
|
|
|
|
Hello
i make an web site and make on it search engine local to my web site
and it work god in the localhost
but wen i do it over the internet
an error happen
i think the erro in this code
<br />
public Search(string URL)<br />
{<br />
<br />
string[] SplitWebSitePath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase.ToString().Split('/');<br />
for (int i = 3; i < SplitWebSitePath.Length-2; i++)<br />
{<br />
if (this._WebSitePath == string.Empty)<br />
{<br />
this._WebSitePath = SplitWebSitePath[i];<br />
}<br />
else<br />
{<br />
this._WebSitePath = this._WebSitePath + "\\" + SplitWebSitePath[i];<br />
}<br />
}<br />
int ha= URL.IndexOf(SplitWebSitePath[SplitWebSitePath.Length-3]);<br />
this._URL = URL.Substring(0, ha ) + SplitWebSitePath[SplitWebSitePath.Length - 3] + "/";<br />
WebSiteFiles.Columns.Add("HeadLine");<br />
WebSiteFiles.Columns.Add("Content");<br />
WebSiteFiles.Columns.Add("URL");<br />
}
another problem
in the same project
when i open it on firefox explorer
the menu hiden behind the fash
how can i fix it
it work god in microsoft internet explorer
and thanks
|
|
|
|
|
|
If Vas response doesnt work can you post the error message for the code
|
|
|
|
|
You ought to have posted this reply to him.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
|
please Enter www.gkc-jo.com
Home page
there are an error in the firefox
in tab control and in the news
thank you for the help in the menu problem
|
|
|
|
|
can you post the error message and example code it is pointing at
|
|
|
|
|
Something that's been bugging me for just over a day now....
For some mystically strange reason, I am UNABLE to get 2 panels on a single page to sit side by side...
I'm not NEW to ASP.NET (In the sense I've been coding in it for 2 years... Which MIGHT seem like "new" to the people who've been coding for the past 700 years, starting when Binary was new, but you get the idea )
Either my Visual Studio 2008 Pro is broken, or my resolution is too high, or my mouse isn't dragging properly, or something....
These 2 panels REFUSE to sit next to each other!!!
Text Illustration:
Panel 1 Panel 2
+-----+ +-----+
| | | |
| | | |
| | | |
+-----+ +-----+
Hope those (Rather crudely "drawn") illustrations got my query across
- Reelix
-= Reelix =-
|
|
|
|
|
is there any problem to doing in this way ?
<table style="height: 40px"><br />
<tr><br />
<td style="width: 100px; height: 45px"><br />
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px"><br />
</asp:Panel><br />
</td><br />
<td style="width: 100px; height: 45px"><br />
<asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px"><br />
</asp:Panel><br />
</td><br />
</tr><br />
</table>
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
Rows in a Table?
*Congrats*
Impressive
Thanks alot!!!
(5 Rating for that one!)
-= Reelix =-
|
|
|
|
|
Thanks !!!
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
I want to create the web setup of my asp.net project , contains the asp.net platform , language - c# and crystal reports.I DON'T WANT TO INCLUDE THE CODE FILES
can somebody refer me a path to do it.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
|
halo..
I want to send email to my account but this program run twice. So,after click on submit button, 2 same mails send to my account.How this could happen?
Thanks.
<code><small>Imports System.Net.Mail
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Try
Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(message)
litStatus.Text = "Message Sent"
Catch ex As Exception
litStatus.Text = ex.ToString()
End Try
End Sub
|
|
|
|
|
There seems to be nothing wrong with the code above.
Can you check it with another e-mail address, plus possible post anymore code you have for that page
cheers
|
|
|
|
|
hi,
put your code within the
If Not IsPostBack Then
Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(message)
litStatus.Text = "Message Sent"
END IF
hope this helps...
|
|
|
|
|
There are two pages , one is login page(aspx) and another is html page . i want to get login page desing into html page at runtime using Ajax is there any option to do that.
|
|
|
|
|
There's no built in option to do anything, you need to write code. Not sure what you want exactly, you want to download HTML using AJAX and inject it into your login page ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
download aspx content and inject into html page
|
|
|
|
|
That is what is being classified as 'Wierd'. You might run into Scripting Errors when the XmlHttp fails due to any errors on the server.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|