|
i am very grateful for the reply etc. I will get around to reading the whole of the link but it did lead me to
http://forums.asp.net/1/1128547/ShowThread.aspx and then
http://www.victorcorey.com/
with the result that all life is now worth living.
nick neutron
|
|
|
|
|
Friends,
In my application, i am using gridview with templeates like itemtemplate, edititemtemplate and footertemplate. At the last column of this gridview includes ASP:Commands Edit and Delete.
When I Click Edit, then all the fields are ready with their values in textboxes to edit.
But after edit, when i Click Update nothing is happening. Simply keeps the same page with textboxes with same(previous b4 edit)value and Command buttons Update and Cancel.
I tried to debug this. But when i click update it is not coming inside this method.
protected void gvConsultantManagementObjDS_RowUpdating(object sender, GridViewUpdateEventArgs e)
Please Help me. Its urgent requirement for me.
Thanks in Advance.
Regards,
Prya
|
|
|
|
|
Prya,
Do you have an update method/command incorporated with your object datasource for that GridView? Just to clarify this, can you tell me if you are using a strongly typed dataset (from within visual studio) or if you are using a class/namespace to achieve this?
Nila
|
|
|
|
|
i have a problem in page load even !!
on some servers when i run my web application the code i wrote in the page load doesn't executed ..
for example ..
i build a tree menu when the user login to system with the items authorized for him .. this code doesn't execute on some computers .. if i include a Response.Write("Any thing") to the load even and wrote any thing to the page the code executes.. !!!!
another case .. i use acrobat reader to view my reports .. i have a public page for viewing the reports i send the data source and report file name to this page it views the report. this code also doesn't executed on some computers ..
thanx ..
لا اله الا الله محمد رسول الله
|
|
|
|
|
Maybe you need to re-install the framework on those servers. Do you get any error messages though?
Nila
|
|
|
|
|
no i don't get any messages.. i will try to install the frame work again ..
thanx.
لا اله الا الله محمد رسول الله
|
|
|
|
|
Hello !
I've one problem related to tab index.
I've few controls on my webpage. I've set tab index for all control.
Its working fine. But if click scroll bar of my web page and then press tab key then focus goes to first control.
I want it to go on next control.
Please tell me how to overcome this problem.
Waiting for reply.
Thank You.
|
|
|
|
|
I guess you'd need to store the last TabIndex value, then on tab click, check and increment it...kinda manually implement...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi,
I want to show calender when i click on cal.gif.
It should show up calander in Div and near to that image where i am clicking.
and selected date in one asp.net Textbox.
How to do this?
Please it's argent.
I have found it at many places but not got proper solution.
Thanks.
|
|
|
|
|
you can use the popup window to show the calendar.
and use javascript to show the selected date in the textbox.
Pankaj Gupta
(Take it easy)
|
|
|
|
|
Thanks your reply but i dont want prepop up window
|
|
|
|
|
|
I'm wanna write web application that can control the iis,such as create virtual web site,set virtual directory,configure parameters,delete virtaul web site.
whether .net 2.0 have provide the such class??
where I can find such component??
have other method to finish such work??
whether you have wrote such application?can you teach me how to do??
KSCsoft
|
|
|
|
|
Hi All,
I have faced a problem, When i export more than two thousand records from database to an excel Sheet an error occur . I take data into a dataTable and export it.
The error is :
"Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. "
In the event viewer i have seen the the error 'aspnet_wp.exe (PID: 2320) stopped unexpectedly.
my Operting system is Windows 2000 server and ASP.NET version is V1.1.
Plz find me a solution for the same.
Thanks you
Regards Difin
-- modified at 5:35 Tuesday 14th November, 2006
|
|
|
|
|
Is it Oracle? If so, don't use their data provider due to memory leak issues... use what Microsoft offers: System.Data.OracleClient
You can also try and re-install the framework, that might help.
Nila
|
|
|
|
|
Hi
Thank you for the reply.Here i am using SQL Server 2000 and sybase server. In both cases the same error shows. I have reinstalled the framework and reinstlled ASP.NET,still same problem exists,"server application not avaialable".The Export to excel functionality exports nearly six thousand rows with out any problem. If the number of rows exceeds more than this it shows the error.
Thanks and Regards
Difin
|
|
|
|
|
This sounds like a memory leak. And when you recompile your project and upload again the site is back up (or at least until someone exports another 6000+ records) right? Try to push the data as CSV and see if it makes a difference. Also make sure your servers are up to date with the service packs and patches (sorry if I sound foolish… Im not familiar with sybase )
Nila
|
|
|
|
|
Hi,
I have a dropdownlist that gets populated programmatically from a datasource.
However, depending if the user is a admin user, I want to add 2 more list items to the
Here is my code on how I add the list items programmatically to that list:
<code> drpStatus.Items.Add("Admin")
drpStatus.Items.Add("Global")
</code>
Problem with my code is, the value and display of the list item is the same. My value and display text differ. I need to have something like(excuse the code, but it does not render correctly when posted:
<code>
<asp:DropDownList ID="drpStatus" runat="server">
<asp:ListItem Text="---Select from list---" Value="0" />
<asp:ListItem Text="Admin" Value="A" />
<asp:ListItem Text="Global" Value="G" />
</asp:DropDownList>
</code>
How can I do this?
|
|
|
|
|
playout wrote: something like:
Something like what?
If you are using html tags then check the box "ignore HTML tags in this message (good for code snippets)"
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi, I changed my message. Thanks for the tip on the tags!
|
|
|
|
|
you can do it like this:
ListItem li = new ListItem("test3,t);
ddl.Items.Add(li);
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks Apurva,
I got it to work.
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
OK i think you want to add value also if i am not wrong
try this
ListItem items = new ListItem("Admin", "A");
or you can do this way also
ListItem items = new ListItem();
items.Text = "Global";
items.Value = "G";
Add to the DropDownList
DropDownList1.Items.Add(items);
Is it fine ?
Send your reply
|
|
|
|
|
Hi,
Yes, thank you, this worked too.
Thanks for the help.
|
|
|
|