|
blumenhause wrote: What additional changes must I make to cause the code associated with the Order button's Click event to run on the server?
Are you developing .NET application first time ?
you can't do that
blumenhause wrote: I need to upgrade an existing HTML application
Current Application is in which technology ?
-- modified at 3:17 Tuesday 8th May, 2007
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Wow - I wouldn't do that. I would create a new project from scratch, and copy the HTML across into the pages, then add the event handlers, etc. You don't want to mix your C# code with your HTML, that's just ugly.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hi,
I found this question in a Microsoft self-assessment test for C# 2.0 MCP. I have been asked to write the MCP exam for C# 2.0 by my manager, I was browsing through the Microsoft website when I found this test and I came across this question.
I got 6 out of 30 questions right, I hope that explains my knowledge in C# 2.0
Can anyone advice me how to go about preparing for this exam? We do not have access to Google or such web sites here at office, they only allow .NET related web sites here, like codeproject.
Thanks & Regards,
blumen,
Chennai, India
|
|
|
|
|
Hi Friends,
I have my own javascript in ASP.net and thats working fine in IE but its not even working in firefox. can any one give me the solution for this.
Regards,
A Jabeer Ali
|
|
|
|
|
Hi
Post your script code as I have worked on FireFox browser ...
Harini
|
|
|
|
|
Hi,
I think the methods which you are using in javascript are not supported by the firefox....
To see those errors u can use in firefox error console.....(In firefox browser goto Tools -> Error Console) or else you can post the javascript code so that we can help you.
Regards,
Sandeep Kumar.V
|
|
|
|
|
I have a dropdownlist.I have bind data to it.
But my problem is if the value is not there I have to add
it during runtime.Is it possible without keeping a button?
|
|
|
|
|
A kamath wrote: But my problem is if the value is not there I have to add
it during runtime.
You can check the dropdown item count after binding the data. If it is 0 then add items manually
|
|
|
|
|
Hey,
I have a master.page and a Default.aspx page. I'm trying to use AJAX
to postback to the server. However, when I place the
<asp:scriptmanager ...tag="" on="" the="" default.aspx="" page="" i="" get="" an="" "element
'scriptmanager'="" is="" not="" a="" known="" element.="" this="" can="" occur="" if="" there="" a
compilation="" error="" web="" site."=""
what="" problem="" here?="" am="" missing="" something?
=""
<div="" class="ForumSig">seema
|
|
|
|
|
did you set a reference to the assembly for ajax.net (or drop the dll in the /bin directory depending on if you are using Web site or web project).
|
|
|
|
|
Yes, I set reference to ajax.net but still the same problem
seema
|
|
|
|
|
hi iam doing remote debugging
i can connect to the remote machine and i can see the list of process.
when i attach, its loads some files( can see in the status bar) , and nothing happening.
but its not loading the attached process code or any thing.. i cannot see any thing. i cannot set break point or any thing , no window (or codebenined file ) is comming up to set a breakpoint.
please help me, iam using VS2005, windows 2000 professional. (both soruce and target machines has the same configuration and similar settings)
the output windows shows the following information
'aspnet_wp.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_wp.exe', No symbols loaded.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\ntdll.dll', Cannot find or open a required DBG file.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\kernel32.dll', Cannot find or open a required DBG file.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\msvcr80.dll', No symbols loaded.
'aspnet_wp.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No symbols loaded
Please help me.
|
|
|
|
|
Hi,
I have an ASP.NET page with a programmatically created table. The table contains some text boxes whose content I need to get at at the post back. Alas, since the table is created programmatically, its structure nor its contents isn't maintained through the post back.
I'm sure I can access it at some point in the page life cycle but I can't really figure out when and how.
How can I access the content of some programmatically added text boxes in a programmatically created table?
"When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
-Atlas Shrugged, Ayn Rand
|
|
|
|
|
Does it need to be created at run time? If so, can you use a gridview with the appropriate columns instead (most likely template)?
|
|
|
|
|
Rohde wrote: I'm sure I can access it at some point in the page life cycle but I can't really figure out when and how.
Yes you can do this. In page load try to print all the posted control id's. You can use Request.Form in a loop to get all the posted id's
|
|
|
|
|
Thanks for the reply.
I simply forgot to build the table at the post back before the event handler runs.
Sometime this stateless, connectionless model aggravates me.
"When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
-Atlas Shrugged, Ayn Rand
|
|
|
|
|
Hi all,
I was a doing a webapplication in visual studio .net 2003. I have to access an MS Access database but it shows some error like this..The Microsoft Jet database engine cannot open the file 'c:\inetpub\wwwroot\WebMed\med.mdb'. It is already opened exclusively by another user, or you need permission to view its data. . But it was working fine in another machine.
Can anyone help me.
Thanks in Advance
Sebastian
|
|
|
|
|
Make sure the ASPNET and IUSR_[MachineName] user accounts have permission to read the file.
|
|
|
|
|
now i am using windows XP and file system is FAT. then can you say how to set this property.
Thanks
SEbastian
|
|
|
|
|
right click the file -> properties -> security tab -> add button
|
|
|
|
|
I have some reports that generate a collection of objects i am binding into a Repeater object. This works fine, however the report contains a number of boolean values for example CanSelect, CanDelete, CanEdit, CanView.
I want to use these conditions to display / hide the relevant links, but i'm not sure how to go about this.
Any recommendations?
Cheers Chaps
Tris
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
Hi,
I am developing a web base project using c# in Visual studio 2005. I want to use a Session which expires after 7 or 8 hours or may be much more than that. Is it possible to increase the time of expiration for session OR set its value never expire? If anybody of u knows please share with me.
Thanks a lot,
Abubakar Malik
|
|
|
|
|
Check your web.config file and see the time out settings. If you still have a problem then have a look at this msdn link[^]
|
|
|
|
|
Ya, It works on my PC, Thanks
|
|
|
|
|
Hi all, iam using a program that does monitoring on users actions, this program generates an html table that contains all logs. I need to read this table and insert it row by row to an access database where i can do my queries. I need help doing this!!!
So far i have managed to read this html file in a stream reader, i need to know how to iterate through this stream reader and insert each td in its row.
thsnks
|
|
|
|