|
Define 'e'.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I was not quite sure what you were suggesting when you replied for me to define e. I think that my initial question was not worded correctly. I just wanted to know if anyone know what the parameter for the ASP Login control onauthenticate="authenticate(this, ?)" would be if authenticate was a javascript function? I know that code behind event args are of type AuthenticateEventArgs but how would this be indicated in the javascript Login control onauthenticate definition?
Thanks,
Steve
|
|
|
|
|
I have created a web service, and a coworker has created an installation package for it using InstallShield.
I have just realized that I forgot to change the Web.config file to set debug to false before he made the installation package. It is currently set to
compilation defaultLanguage="c#" debug="true"/
My question is, if I manually edit the Web.config file for this web service to set it to the following value after it has already been deployed, will it still execute with all the debugging overhead and resources?
compilation defaultLanguage="c#" debug="false"/
Do I have to bother my coworker to put another build together after I change the Web.config file?
Thanks for your time.
|
|
|
|
|
No, the point of config files is that you can deploy an exe and change things about it, by just changing the config file. The exe reads the config files.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for the quick response.
|
|
|
|
|
I have use following code for reading value of textbox from gridview,but it could not give any value.it just show null value....Pls Help Me...
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Button l = (Button)e.Row.FindControl("Button1");
if (l != null)
{
TextBox t = (TextBox)e.Row.FindControl("txt_choose");
string vc = t.Text;
}
}
}
|
|
|
|
|
I guess you need to tell us which line fails and show us the ASPX as well.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hello,
I have a department and an employee table. I populated a radio button list with all the department codes.
By default a Gridview will display all employee record. And, when I will select one department code on the radio button list, the GridView will only display employee record(s) with the same department code(s).
This is working fine with the ff:
protected void radioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
{
SqlDataSource2.SelectParameters.Add("deptCode", radioButtonList1.SelectedValue);
SqlDataSource2.SelectCommand = "SELECT [iD], [firstName], [lastName], [dateOfBirth], [deptCode][position] FROM [F201] WHERE ([deptCode] = @deptCode)";
}
But, I think that, when there will be to many employee records, this will slow the loading. Is there any other way to display these record to a Gridview without re-querying to the table?
I am new to Asp.Net, any suggestion will be very much appreciated.
|
|
|
|
|
How many is too many?
Is your Gridview paginated? that could help in loading time. You could write sql stored procedure to help with the database performance too.
Sath Garcia wrote: display these record to a Gridview without re-querying to the table?
The only way is to load all the records and write javascript code to manupliate your gridview. But don't think this is going to be easy code.
Yusuf
|
|
|
|
|
Thanks man,
Yes the gridview is paged. I set it to 20. Anyway, I guess I am gonna be sticking to what i did for the main time, besides, it is not really that "many" records. I was just looking for any other alternatives to further speed up the apps
I guess I'll start digging for javascripts too
thanks again.
|
|
|
|
|
Good Day All
My Employer is using .NET 2.0 and we have VS 2008 installed. In a Way he is Saying am giving you latest tools to give me a solution. Now we have big long runing .NET 2.0 Project, and as Developer we need to grow in the product by exploring the technologies presented in 3.5.So my question is is it Posible to Add a .NET 3.5 technology on 2.0 ? and how ?
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
simple answer...no. Best thing is install 3.5. Its free.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
You really did not take time to understand my question
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
|
hi JMummery
Thank you for your advice. Thats cool
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
can anyone tel the code for servertime..will .ToLocalTime get the server time..
scarface
|
|
|
|
|
try this
Label1.Text =Convert.ToString(DateTime.Now);
Hope it Helps
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Hi all,
I am using asynchronous page processing,. My problem is that, page logs in and logs out for the first request and after re-logging in page there is no problem..How to maintain authentication for the page...
How to solve this....
Thanks in advance..
|
|
|
|
|
I can show my report (CR of VS 2005)in my development machine (Asp.Net 2.0 with C# code behind). But after deploying in my server, toolbar images are not displaying in the report.
It is showing as red color (X). I googled and tried some thing to rectify it. But, my problem is not solved so far. Any body can release me. It is urgent pls.
Balasubramanian K.
|
|
|
|
|
check the aspnet_client folder. Place it in the project root folder.
The miracle is this--the more we share, the more we have.
|
|
|
|
|
Actually, it is in c:\inetpub\wwwroot. But what i did is, I created one virtual directory under my project and give link into the aspnet_client. Even though it is not displaying
Balasubramanian K.
|
|
|
|
|
first be sure, it is only problem of aspnet_client folder. Type to copy and paste this folder into your project.
The miracle is this--the more we share, the more we have.
|
|
|
|
|
Yah..I've placed aspnet_client folder in to my project. Even though, the images are not displaying
Balasubramanian K.
|
|
|
|
|
we can call server side method with the help of Icallback like ClientScript.GetCallbackEventReference(this, "column", "ShowResult", null).
in this way i can call server side method. please tell me anyone that how can i call gridview related method like "GridView1_RowEditing" or "GridView1_RowUpdating" just by Icallback API. it will be great help if some one help me with sample code or url from where i can get the exact code as i required.
tbhattacharjee
|
|
|
|
|
hi
when some one enter the url such as " http://10.10.15.57:1230/CMS/admin/Login.aspx"
then my login page should be shown.
what type of make settings in IIS so that some enter the ip address and page path
so that they get the page.
Note: i know this is asp.net forum but person who are developer that might know
so plz do not make comment such that "this is asp.net forum".
Regards
Keyur Satyadev
|
|
|
|