|
<asp:textbox runat="server" textmode="MultiLine" maxlength="4000" id="txtComments"
="" width="450px">
<asp:requiredfieldvalidator id="RequiredFieldValidator1" controltovalidate="txtComments"
="" runat="server" errormessage="*">*
|
|
|
|
|
<asp:textbox runat="server" textmode="MultiLine" maxlength="4000" id="txtComments"
="" width="450px">
<asp:requiredfieldvalidator id="RequiredFieldValidator1" controltovalidate="txtComments"
="" runat="server" errormessage="*">*
|
|
|
|
|
Response.Redirect("abc.aspx?ID=" + ((TextBox)row
.FindControl("TextBox1")).Text);
the abve code which u have given is not working...
the receiving(the page has to be redirect to this page) page i have given the command like..
lbl1.Text= Request.QueryString["txt1"];
In the redirection page i have given in html page by binding textbox and redirecting to the new page, its redirecting but not values are redirecting in the new page.
Can u pls fix my issue...
krishna
|
|
|
|
|
For example we can take a site like online shopping.....
FROM a b c d....z
If we click a all the products starting form a is displaying its working, after that if we click any product name than it should display a details of that particular product in details in a different page or in a same page....this is the logic....
krishna
|
|
|
|
|
hi,
have U tried the following code..U check the txt1 is control id or not.Plz try..not sure
lbl1.Text= Request.QueryString["txt1"].ToString();
-- modified at 8:07 Tuesday 30th October, 2007
Rajendran
|
|
|
|
|
krishnavaradharajan wrote: Response.Redirect("abc.aspx?ID=" + ((TextBox)row
.FindControl("TextBox1")).Text);
krishnavaradharajan wrote: lbl1.Text= Request.QueryString["txt1"];
You've called the parameter you're passing on the querystring "ID", not "txt1". You should have
<br />
lbl1.Text= Request.QueryString["ID"];
|
|
|
|
|
Can we upload a file to the application server using webclient?
If yes can plz give me the sample code.
|
|
|
|
|
System.Net
WebClient Client = new WebClient();
Client.UploadFile("http://www.Temp.com/Members/index.aspx",
"c:\wesiteFiles\newfile.aspx");
byte [] image;
//code to initialise image so it contains all the binary data for some jpg file
client.UploadData("http://www.Temp.com/Members/images/logocc.jpg", image);
|
|
|
|
|
hi frns
asp:HyperLink ID="HyperLink1" runat="server" ToolTip="Download" NavigateUrl='~\Feedback\'
/asp:HyperLink
i removed triangle bracket bcoz if i keep them the code i mentioned above is becomming invisible
i want one of my column in gridview with hyperlink value so i used the above snippet in my code, the actual functionality i want is when i click on the hyperlink button i want that particular file to be opened, so in the navigate url attribute i used "'~\Feedback\ + <%#Eval(QAFilename)%> +'" upto feedback path it is fixed i want to add the filename dynamically but it is not working can anybody suggest me
regards
sunil
|
|
|
|
|
i.e in runtime when u bind grid.
Devjit Das.
|
|
|
|
|
thanks for u r support
i got the solution i used anchor tag in place of hyperlink
|
|
|
|
|
|
Dear all
what is the difference between Response.Write() and Response.WriteLine()
Ritesh Mogha
|
|
|
|
|
Better to search first in google and then ask here that will help you in may ways . Google is your best friend
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Mogha Ritesh wrote: Response
Or Console ?
|
|
|
|
|
The main difference is that Response.Write does exist, while Response.WriteLine does not.
For classes that have a WriteLine method, it will write a line break after the item is written.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Is this a serious question? I understand that english may not be your first language but can you not make a wild guess what the difference between a method called Write and a method called WriteLine would do?
And even if you can't, don't you think actually trying these two methods (which you most likely saw on Console not Response) would answer your question?
|
|
|
|
|
Plz dont ask like this type of question in forum..Plz search in google....If u r struggling in any code part mean...ask....first U should work with code(without effort U cant improve ur performance)...
Rajendran
|
|
|
|
|
plz try nt 2 us txtspk in 4rm thr is no nd.
|
|
|
|
|
var d = document.getelementbyid("dropdownlistid");
d.options[d.selectedIndex].text<br />
d.options[d.selectedIndex].value
The ablve code shows the selected value .How can i get the selected text
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
What do you mean by selected text ? What does the .text prperty give you ?
Have you bought a book yet ?
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
|
use this d.options[d.selectedIndex].innerText; and it will work ok. where r u working.Just to know u simply.
Devjit Das.
|
|
|
|
|
i think every time you and Gagan asked question without making any self attempt. If the things are really tough then you should ask but you should not asked this question directly in the forums.
Atleast try to put some efforts while doing work. you should now how to use google as it very important. Again you should have MSDN on line link.
this is only suugestion as asking the question on Forum without efforts/learnings will not help you to become a good developer
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
This is why every reply I give him includes the phrase 'buy a book'. He seems to have no interest at all in actually putting any effort in. I am curious to know if he has a job somewhere ( if someone hired him ), or if we are in essence doing work that he gets of rentacoder or something.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|