|
No, the way that most web pages do this is to render each page as if it shows a bunch of tabs with the current one selected, and the others as links to pages that work the same way on the 'tabs'
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I think he means tab as in the tab key rather than tab as it the UI element.
|
|
|
|
|
Hi
In edit mode of the gridview, I have provide date picker. For this I am opening a new page containing the calender using java script:
window.open('CalendarPopUp.aspx?textbox=tbxSetDate','cal','width=250,height=225,left=270,top=180')
But I am unable to take the selected date back to the parent page.
When I am trying to access the textbox of the current row in gridview's rowcommand like:
TextBox tbxSetDate= (TextBox)(GridView2.Rows[Int32.Parse(e.CommandArgument.ToString())].Cells[2].FindControl("TextBox2"));
I am getting null instead of the textbox object.
Any idea here?
Regards,
Rocky
Rakesh
|
|
|
|
|
Hi Rakesh,
When you go into edit mode the e.CommandArgument is not working some of the times. Therefore it is likely you cannot find your textbox in that row.
I use the following to get the correct row number.
GridViewRow row = (GridViewRow)((Control)e.CommandSource).Parent.Parent
you can try it and see.
regards
blooper
|
|
|
|
|
I want to use session between projects(diff dll) in the same soultion..
Eg Session["user"] = hello
I am getting it when i use server.transfer
Not getting when it is Respnse.Redirect
|
|
|
|
|
VB.Net Developer wrote: between projects(diff dll) in the same soultion..
Session is not project specific. It's site specific. Is this two projects works on same virtual directory ?
|
|
|
|
|
It is in same virtual directory itself
|
|
|
|
|
When a new project is created, automatically one virtual directory will be created on IIS. Goto IIS settings and check another virtual directory exist for the second project. If exist remove one.
|
|
|
|
|
Thanks a lot...That was excatly the problem ........Now i am getting sessions between projects
|
|
|
|
|
VB.Net Developer wrote: Thanks a lot
Welcome
|
|
|
|
|
i uploaded my Asp.net project in server www Root. i got error in wep config file.. the error is
error:authentication mode="Windows"
Line 28: <authentication mode="Windows">
karthi
|
|
|
|
|
Sounds like your application is running in a folder below another
application. You need to create it as an application in IIS (so it
looks like a virtual directory) - otherwise you can't change certain
settings such as the authentication mode.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
karthidheena wrote: i uploaded my Asp.net project in server www Root
Remote server or an Intranet server ? Windows authentication works only with intranet applications
|
|
|
|
|
hi
IS there any other way to Pass parameter from on Page to another page ..without using session or request.querystring
Jintal Patel
|
|
|
|
|
In ASP.NET 2.0, one page can be posted to other by specifying PostBackURL value for the control.
|
|
|
|
|
hi
i can't understand what u have explain ..please explain in detail
Jintal Patel
|
|
|
|
|
In ASP.NET 2.0, controls like Button having a new property called PostBackURL . Set this to the other page where values has to be passed. When Button is clicked ASP.NET will send all values in current page to specified page.
|
|
|
|
|
Jintal Patel wrote: i can't understand what u have explain ..please explain in detail
Below is the link to get more info regarding Cross page posting(postbackurl)
Cross page posting(postbackurl)[^]
Regards,
Sandeep Kumar.V
|
|
|
|
|
u also pass parameter through query string
Piyush Vardhan Singh
|
|
|
|
|
Hi,
I am parsing a CSV file and storing it in database. All the table fields are varchar. The CSV file has a column called Date which is in the format 11/11/2007 where i checked the Format Cells it displays date. The problem is when i save this field in the database it automatically saves as 11/11/2007 12:00:00 AM. I need not want to the time to get saved. Can any one please help me out.
|
|
|
|
|
You might be using a DateTime /Smalldatetime data type. It always append time with it. Try using varchar instead.
|
|
|
|
|
No i am using varchar datatype only.
|
|
|
|
|
Instead of storing in the database, i displayed in the grid it shows the same with Time.
|
|
|
|
|
Are you reading this columns value through a datetime variable in page ?
|
|
|
|
|
This is what i do
string ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path + ";Extended Properties=\"Text;HDR=No;FMT=Delimited\\\"";
System.Data.OleDb.OleDbConnection conn = new System.Data.OleDb.OleDbConnection(ConStr);
System.Data.OleDb.OleDbDataAdapter da = new System.Data.OleDb.OleDbDataAdapter("Select * from " + file, conn);
da.Fill(ds, "TextFile");
DGCsv.DataSource = ds.Tables[0].DefaultView;
|
|
|
|