|
SreejithAchutan wrote: When we select the grid row the details of the row in particular control
You want to read one grid row and display it in a saperate control ????
This control only display the image or Alll details along with image?
---
did you store image path in database or image as binary format ?
you can check it for your Reference
Read image from database[^]
|
|
|
|
|
it didn't give the output image. other fields are showing but no image..
suchita
|
|
|
|
|
iam having a regular validator to accept [0-9a-zA-z]along with this how it can accept the special characters also.
|
|
|
|
|
|
Hi,
I'am using ASP.NET 2 and I am trying to check size of an upload file.Since by default fileuploader can upload upto 4Mb if i try to upload a file greater than 4Mb shows a page that shows PAGE CANNOT BE DISPLAYED message without entering the upload function.How can i reload my default page without showing this error page if size is greatrer than 4Mb.i dont want to increase my upload size though..
Prasobh
|
|
|
|
|
<httpruntime maxrequestlength="1048576" executiontimeout="3600">]
add this code in the web.config file
|
|
|
|
|
Hello,
Check the file length first. You may helped by the following code. (Refrence : using System.IO;)
FileInfo FI = new FileInfo(@"C:\Rate.txt");
Response.Write("File Size : " + FI.Length.ToString());
This code returns the size of the particular file. You may check the file size u want.
Reply.
Best Of Luck.
Dipak
|
|
|
|
|
Hi,
but my function upload is not calling when i try to upload a file greater than 4Mb.didnt even go to page_load just go to PAGE CANNOT BE SHOWn message..
i dont want to increase the file size also...
i need to reload my default page if some one try to upload a large file..
can i check file size at server side before actually begin to upload
Prasobh
|
|
|
|
|
Hi dear,
For making upload more than 4MB you just need to alter ur webconfig file, becoz by default webconfig settings allows for 4MB data transmit.
u can find the Code line for same thru google.
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
hi iam using check boxes in the grid view.now how can i make the user has to select only one check box in the grid view
|
|
|
|
|
Why don't you use "radiobutton" instead of "checkedbox"? Basically, the checkedbox used for selecting multiple items.
|
|
|
|
|
sir is not possible with check boxes if not how can we use radio button s to select only one in the grid view
|
|
|
|
|
jagadeeshkumar2106 wrote: is not possible with check boxes
I don't want to say it's impossible.. but if you are using checkedboxes instead of radiobutton for your case, the user might feel confused. That's why I suggested you to use radiobutton.
If you want to get the example, you can check-out the link..
As this article RadioButtons inside a GridView control[^] mentioned, you can use HTML radio button instead of Server-side control if you want the user to select the only one radiobutton..
OR
Adding a GridView Column of Radio Buttons[^]
OR
http://forums.asp.net/p/1050958/1484724.aspx[^]
<br />
protected void rbSelector_CheckedChanged(object sender, System.EventArgs e)<br />
{<br />
foreach (GridViewRow oldrow in GridView1.Rows)<br />
{<br />
((RadioButton)oldrow.FindControl("rbSelector")).Checked = false;<br />
}<br />
<br />
RadioButton rb = (RadioButton)sender;<br />
GridViewRow row = (GridViewRow)rb.NamingContainer;<br />
((RadioButton)row.FindControl("rbSelector")).Checked = true;<br />
}
Hope it helps..
|
|
|
|
|
sir wat u gave is working fine and thanks . if u dont mind my application has check boxes it so will u plz help in this regard.
|
|
|
|
|
Is there a way for me to create a new thread with ASP.Net using C#?
|
|
|
|
|
Either spawn a new thread by creating a new instance of the System.Threading.Thread class, or assign work to a thread from the threadpool by calling System.Threading.ThreadPool.QueueUserWorkItem .
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
The real question is, why do you want to ? I mean, there are limited ways in which that can help in ASP.NET because the class is generated on a postback and is gone when the page is sent back.
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 )
|
|
|
|
|
Hi guys ! I'm sorta new to web development, well not with the coding part, I want to develop my first full website (ASP.NET 2.0, C# 2005) ... I'm looking for some material that can help me in doing that, some tips someone give some links of for example a full website so i can get some clues on how to develop my site,
I appreciate that !!!
Mr.K
modified on Friday, January 04, 2008 3:01:08 PM
|
|
|
|
|
I'd recommend buying a book on ASP.NET. Beyond that, I'm not sure what you're asking. You know how to code, but you don't know HTML/ASP.NET ? You've written pages before but somehow think there's more to know when writing the whole site ?
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 )
|
|
|
|
|
Polish your technical skills with a full day of free, live learning sessions near you for developers and IT Pros. Learn hands-on skills and swap juicy stories at MSDN Events[^].
See what’s new in Internet Information Services [^]and why IIS7 is Microsoft’s most extensible, manageable and secure web platform to date. You’ll learn how to extend Application Services from ASP.NET [^] and how to consume them from a variety of clients. We’re also tackling some of the toughest Web security threats and clueing you in to the top counter measures.Register today[^] to strengthen your security skills at these lively events in your local area. For information about the event, including locations, dates and times, see MSDN Events[^].
Learn more about Microsoft emerging techologies[^].
|
|
|
|
|
hello,
after a client make a payment "paypal" sends a "form" that include all the variables (for ex: payment_date,transaction_id ...), the form is sent to a specific URL which is my server (for ex: http://66.25.123.112/paypal/request.aspx)
how to read the form so the variables appear in my page?which classes or method should i use?
please if someone could help ASAP
THANK YOU A LOT
|
|
|
|
|
Which method of paypal u r using?
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
modified on Friday, January 04, 2008 10:04:07 AM
|
|
|
|
|
dear rahul;
the "BUY now" method , but the problem is how to read from the sent message, as i said before, they sen all the information to a URL i already specified in "notify_url" function (according to paypal)
thank you for your help
|
|
|
|
|
Here is the code I use to post a request to Authorize and get a response. I don't think any of it is specific to them, just plug in the right variables.
HttpWebRequest objRequest = (HttpWebRequest)WebRequest.Create((transaction.TestRequest) ? testurl : url);
objRequest.AuthenticationLevel = System.Net.Security.AuthenticationLevel.MutualAuthRequired;
objRequest.Method = "POST";
objRequest.ContentLength = strPost.Length;
objRequest.ContentType = "application/x-www-form-urlencoded";
try
{
myWriter = new StreamWriter(objRequest.GetRequestStream());
myWriter.Write(strPost);
}
catch (Exception e)
{
return null;
}
finally
{
if (myWriter != null)
myWriter.Close();
}
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 )
|
|
|
|
|
dear christian
i already send my variables while clicking "Buy Now" button the problem is when they send back IPN to my url(ex:55.62.65.23/paypal/anything.aspx)
the anything.aspx page should read the sent variables (ex:transaction_id...) so what classes or method read and store it in my database or XML file
thanks a lot
bachirium
|
|
|
|