|
Please explain further, if you've followed the article you shouldn't have a problem. Can you post your code?
|
|
|
|
|
hi friend
i am using gridview in (Content page)Masterpage..So i want open new Content page on the click of gridview row.
Piyush Vardhan Singh
Programmer
TAS NewDelhi
9313077379
|
|
|
|
|
what i am getting is you want to open a new page on click of row.?
You need to put a button or a link in gridview and then
use RowDataBound event of gridview
if (e.Row.RowType== DataControlRowType.DataRow)
{
e.Row.cells[5].Text= "view..."
}
[5]=your column text where user will click to open new widow.
View...=your text which you want to show your user
is html tag , format it according to your needs.
Naveed Kamboh
|
|
|
|
|
hi friends i am developing an aplliction in asp.net2005 using c# in which i want to upload multiple files.
user can drag any number of files and drop in my form and then on button click
these files will be upload.
pls help me i don't know how to do this.
if possible send me code ,atleast give any idea how to do this
Thanks in advance
|
|
|
|
|
HI
Don't know about drag and drop feature but ASP.NET 2.0
have inbuild FileUpload Control
<asp:fileupload runat="server" id="uploader">
void UploadButton_Click(object sender, EventArgs e)
{
// Specify the path on the server to save the uploaded file to
string savePath = @"c:\temp\uploads\";
if (FileUpload1.HasFile)
{
string fileName = FileUpload1.FileName;
savePath += fileName;
FileUpload1.SaveAs(savePath);
UploadStatusLabel.Text = "File saved as: " + savePath + "";
}
else
{
// Notify the user that a file was not uploaded
UploadStatusLabel.Text = "You did not specify a file to upload.";
}
}
make use of it
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
i have added user defined module in dot net nuke portal that contains several web forms with extension .ascx the problem is linkbutton in these webforms doesnt work properly when i run the application. sometimes i had to click atleast 7 or 8 times to make it work and sometimes it just works with only one click .
can someone please help me in this regard
|
|
|
|
|
I have a doubt in using Atlas Website....
While using Atlas Website does the ajax performs in the particular Webforms or it can perform in other forms. If we use it in other forms how do we need to specify... Kindly help me out
Regards,
LEE
|
|
|
|
|
Your questions are a bit broad in nature. Perhaps you could narrow it down to a problem you are having.
only two letters away from being an asset
|
|
|
|
|
Ok.. In Atlas website. When I add second WebForm it doesn't specified with altas. To use it in second form, How to do it?
Regards,
LEE
|
|
|
|
|
Lee Ponratnam wrote: When I add second WebForm it doesn't specified with altas
What do you mean? It doesn't have a page directive with the Atlas library? Are you using the latest Atlas (now called ASP.NET AJAX Extensions)?
|
|
|
|
|
The settings for Atlas, or Web Extentsion, or whatever they are calling it now, are applied in the web.config so they apply to all pages in the site. Oviously the page directly must be on the page if necessary but if you drag and drop with from the toolbox it will be added automatically.
only two letters away from being an asset
|
|
|
|
|
Hi members of Code project, How r u? this is my first Question which i am asking to you,
i have created one array object and stored into session, so i can use it through out the session of that user.
and this mechanism works fine on my local server, but when i deploy it on remote server then it will work but session object will not give me a correct array object stored for that session...it gives unaccepted output...
Please help me to shoot out this trouble...
Chirag Patel
Chirag Patel
|
|
|
|
|
make the question more clear. what is the output you are getting ? what is the content in the array ?
sometimes we could help
|
|
|
|
|
sorry that i have not displayed enough information...anyway....now i am giving whole information scenario..
I have created one control for "Go back" which will navigate user to previously visited page.for that I am storing previous refferer url in session so I am maintaining Stack structure.
On local server, code works fine means it navigates user to correct previous page, but while I am testing on remote server then control works but it redirects user to page which has session data of other logged in user, I think there may be the session conflict...
bye, have a nice day...
Chirag Patel
|
|
|
|
|
hi
i want code for===
i am writing a code for login screen, in that form when 3 times i am entering wrong password that time my account is lock. i want this code in asp.net using c#.
Gayatri Patil
|
|
|
|
|
Hi
I think you can solve this using view states. When the login fails increase the number in viewstate. so checking the viewstate count is 3 then you can lock.
viewstate["loginCount"] = viewstate["loginCount"] + 1
it's a rough draft, you need to port it using correct syntax
|
|
|
|
|
it's urgent please -- I bet it is. Read the How to get answers post.
only two letters away from being an asset
|
|
|
|
|
hi all,
I have been using Rad controls for charts.but here i cannot able to get 3d charts.
how to get 3d charts in Asp.net ?
plz give ur suggestions.
Thanks in advance.
cheers
sangeet
|
|
|
|
|
|
|
using DataSet.Tables.Add() method
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
But my problem still exists i hav many datasets returning from class file(cs) and i have to pass all datasets to a single dataset in aspx.cs page
Regards,
puthu
|
|
|
|
|
DataSet containerdataset = new DataSet();
containerdataset.Tables.Add(ds1.Tables[0].Copy())
containerdataset.Tables.Add(ds2.Tables[0].Copy())
containerdataset.Tables.Add(ds3.Tables[0].Copy())
containerdataset.Tables.Add(ds4.Tables[0].Copy())
containerdataset.Tables.Add(ds5.Tables[0].Copy())
where ds1,ds2...ds5 are your dataset
and finally all the tables you will get it in containerdataset
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi
Iam beginner to asp.net, can any one explain me the coding for login page how it works with the sample coding
Iam really thankful to you
bye
joyalways
|
|
|
|
|
Specify us which version that you use for login page
Regards,
LEE
|
|
|
|