|
R1119 wrote: Subject: Please help me out?????????????
This is not proper way to write subject. Just give small description of your problem in subject line.
R1119 wrote: Compiler Error Message: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\eclshoppingcart\1161b4a4\95309ba9\App_Web_master1.master.cdcab7d2.9peohxhg.dll' -- 'Could not execute CVTRES.EXE.
When you are getting this error ?
cheers,
Abhijit
|
|
|
|
|
I made a master page with 12 pages which are inheriting the master page .
Everything was going right.Suddenly this error occured when I EXECUTED THE PAGE.
Is it due to antivirus installed on the system.
|
|
|
|
|
R1119 wrote: Is it due to antivirus installed on the system.
No . I Don't Think So.
Check Link that navaneeth provided to you !!
cheers,
Abhijit
|
|
|
|
|
|
I want to make a table dynamically which contain the 5 column and one row. In first column contain checkbox, 2nd column contain serial no, 3rd column contain a text box, 4th column contain a drop down (Items are inserted on runtime from the Access Database) and 5th column contain a textbox.
I want to insert a new row with all same column and same control again and again based on add row button.
Please help me and send solution on jitendramcu@gmail.com , thanks in advance.
(Add row button)
checkbox Line no Mcr no Dr. Name quantity
Checkbox control 1 Textbox control Dropdown control Textbox control
Checkbox control 2 Textbox control Dropdown control Textbox control
jitendra kumar
|
|
|
|
|
Working with dynamic controls is tricky and very tough to get it right. I'd suggest to use a GridView with the required columns. When add row button is clicked, add a new row to the gridview's data source (assume a DataTable) and rebind the gridview.
|
|
|
|
|
i have to find the isp address from where the person is login .
so I want to know how the ISP address is find using then coding.
|
|
|
|
|
I don't think that you will get the ISP address using ASP.NET.
|
|
|
|
|
Hi friends,
I want to retrieve time zone from the browser.Is it possible?
Hope yours reply.
Thanks & Regards
Every Successful Person Have A Painful Story
|
|
|
|
|
From browser? Browser will not send timezone information. Your best bet is to get the visitor IP, do a lookup to find from which country it is coming. Choose the time zone depending on the country.
|
|
|
|
|
Hi Navaneeth,
Thanks for your reply. I got IpAddress using Request.ServerVariable. How can i get the
County location? from IP address. Is it possible? Give some idea. Your solution is very
useful to me.Hope your's reply.
Thanks & Regards
Every Successful Person Have A Painful Story
|
|
|
|
|
You can use something like GeoIp[^]. I believe they provide an API to find the country.
|
|
|
|
|
This is the 3rd time I am posting on this, because did not get my answer before.
I am using a CheckBoxList for convenience, as I have several options. But I notice the CheckBoxList itself is the sender when a checkbox is clicked. So, how do I know which one was clicked?
In older days, CheckBoxes would be put in a group and in the CheckedChanged event handler, we could use the sender to know which one was clicked.
But sorry, I haven't found any property or method for the CheckBoxList control that will provide me with this info thats the first thing to know when using CheckBoxes.
Thanks.
|
|
|
|
|
Use the SelectedIndexChanged event, I am pretty sure that the sender on that event is the CheckBox that you want.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
As I mentioned, I tried that and ended up with the CheckBoxList as the sender - the source of my problem. Anyway - thanks.
|
|
|
|
|
You were given the only possible answer. You can know which items are selected, but you'll need to maintain a list of previously selected items, to work out which item was changed.
Ekjon wrote: In older days, CheckBoxes would be put in a group and in the CheckedChanged event handler, we could use the sender to know which one was clicked.
This still works if you're using forms. There was no such event in ASP.NET, ever.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello Christian,
If the CheckBoxList is databound, in the page load, I get the information from the table and bound it with the CheckBoxList - If(!Page.IsPostBack){...}.
Therefore, some boxes appear as selected based on the table data.
Now, when a selected box is clicked - I need to do 2 things - i) know which one was clicked and based on that, ii) delete info from the table and refresh the display based on new info.
The problem - since the CheckBoxList is databound, when a selected one is clicked - if I don't delete that record from the table, the de-selection doesn't work. Even if I maintain a list of selected ones, now with a click if I don't know which one was clicked - I cannot delete it from the table. So maintaining a list here is not helping.
But I am sure you can indicate the right direction.
Thanks.
Ekjon
|
|
|
|
|
You have a list, and items that are checked, the user clicks on an item to select which one to delete ? Sounds like you need to rethink your UI.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Yes, like the list displays notification options. The user selects them to be notified when an event occurs. Then later on, user can change mind and de-select one - indicating he/she doesn't want to be notified in that event. Thats why I need to delete it from the table.
Thanks.
|
|
|
|
|
Hello,
I am trying to other user controls within a single control. A couple of them reside in another assembly (AjaxToolkit), and one resides within the assembly I am trying to create. How do you link to these other control to utilize in a composite control. They are all created with the $create method. ANy ideas or documentation would be appreciated.
Thanks,
Leo T. Smith
Program/Analyst Supervisor
|
|
|
|
|
I'm using VB.net
I successfully created a node, then seconds after, in the same procedure, for reasons not needing explanation here, I want to update an attribute in that node using xmldoc.selectsingle node. But I get a runtime error. In debug mode, the node reads as nothing.
I checked the XML and the node is there and the path in the xmlnode declaration is correct.
I created a seperate page, using only the update portion of the "creation/then update" procedure mentioned above. It works fine!?!?!
The update code is idential in the two procedures. Is there something I am missing that causes the node not to be recognized seconds after created in same procedure. I know it does not make sense but I just cannot understand why I am getting a runtime error in the first procedure.
|
|
|
|
|
1 - post some code
2 - this is not an asp.net question
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I need a small help.
For the time bieng, I am designing a site.
When I select a country, the state Drop down List should display the states of that particular country only.
Well, it happens. But the problem is,the form is refreshed from the server side.
I want the form to be refreshed from the client side.
Do you know any other method or script that will refresh from the client side?
I have enabled Auto Post Back.Data populates from the database to the combo(Drop down List).
Can we solve the above question by disabling the Auto Post Back option also, and how?
Hope you will help me.
razik 9895916921
|
|
|
|
|
Use ASP.Net AJAX "UpdatePanel" Control and move all your DropDownList Controls inside it, then set the triggers of UpdatePanel to event when Selected Item Changed on DropDownList, and it will generate some client side code for you for partial page update. so no coding is required. Also set the auto postback to "false".
If you dont know what is ASP.Net AJAX Control Toolkit, then download it from ajax.asp.net. there is a video tutorial available on that site, which will describe you how to setup the toolkit with your web application and how to use the UpdatePanel Control.
|
|
|
|
|
Hi,
Probably this is not a question to ask in this forum . but I could not decide. Just putting things in abstract level. I have a primary function which insert some rows to DB0 tables and calls subFun1 and SubFUn2 who connection to different databases and insert some rows in tables in there.
Say I get error in subFun2 function I need to rollback everything what was inserted till that point from DB0 tables, DB1 tables and may from DB2 tables also. How to achive that here?
If exception occurs in subFun2, it will throw exception to primary function and only DB2 and DB0 transactions will be rolled back but not from the DB1 transactions. Any workaround for this
sub primaryfunction()
try
SqlConnection0 = Connection to DB0
SqlTransaction0
Insert/Update some table
call function SubFun1
call function subFun1
call function subFun2
SqlTransaction0.commit()
catch exception
SqlTransaction0.rollback()
end sub
sub SubFun1
try
SqlConnection1 = Connection to DB 1
SqlTransaction1
call function SubFun1
call function subFun1
call function subFun2
SqlTransaction1.commit()
catch exception
SqlTransaction1.rollback()
throw exception
end sub
sub SubFun2
try
SqlConnection2 = connection to DB2
SqlTransaction2
Insert/Update some table
SqlTransaction2.commit()
catch exception
SqlTransaction2.rollback()
throw exception
end sub
|
|
|
|