|
Hi Anant,
I have 3 .NET Framework which are .NET Framework 1.1, .NET Framework 1.1 Hotfix(KB886903) and .NET Framework 2.0. So what should I do now? It is I need to uninstall one of the .NET Framework here? Yup, my IIS is running. Please give advance advice on this, thanks.
|
|
|
|
|
Hi,
khwo wrote: It is I need to uninstall one of the .NET Framework here?
No need to uninstall any version. Just make sure that the version you have used to develop the web app, must be the same which is currently active on the IIS. If it is not the case you may get the error again.
you can issue the aspnet_regiis command from the visual studio command prompt to know which version of asp .net engine is currently active on the IIS.
Caution : Please read the complete information about aspnet_regiis before using it.
You can get help about this on msdn. You can also change the current active asp .net engine using the same command. So you dont have to rewrite the application for the frame work version which is currently active on IIS.
<marquee>"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
I am quite new to using asp.net 2.0 and am only really beginning to get the hang of it, therefore i want to improve my client-side responses and to do so I have decided to add some client-side javascript to help in a calculation. I have the javascript created in a seperate file. The difficult part that i have now is trying to call this function whenever a button is clicked. So if anyone can help with some useful links/ articles on the subject please let me know.
|
|
|
|
|
First you have to include that javascript file in web page and then you can call the function of that file by adding the onclick attribute to the button.
Although what i have told here is the process do be done in asp.net 1.1 and i hope that it would be same in 2.0 also.
Best Regards,
Apurva Kaushal
|
|
|
|
|
It's still the same browser that is used on the client side, where the Javascript is, so the process is still the same, regardless of the framework version used on the server.
---
b { font-weight: normal; }
|
|
|
|
|
Ya thats true but what I thought was there can be a change in calling the javascript file or adding the attribute to the button. Anyway thanks for clarifying.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
I am using a user control where i have a data grid control.
I use this user control in a page. My problem is, I have a link button for delete and when i click this button I get the confirmation message but when I click ok the record is not deleted..(The Item_Command event is not geting fired)
in the item_databount property I am adding the onClick attribute for the link button, and calling a javascript to give the confirmation message
and in the item_command event i am writing the logic for delete.
Same code is working fine for a datagrid control but itz not working when I make this datagrid as a usercontrol and draging it in a page..
Is there any property to be set for the user control
Please help...
Regards,
Sivaprasad
|
|
|
|
|
|
Hi,
There are a lot of white spaces in a page when it is rendered.
This makes the page heavy .
also if the html contians <table style=""> .
How can i remove all the unnecessary code when a page is rendering.
Thanks.
Deepak Surana
|
|
|
|
|
Hi,
You can look into this nice article at Codeproject.
Regards,
Raghu
|
|
|
|
|
Hi,
I am using a user control where i have two textboxes to enter name and id and a dropdown calendar control.
I use this user control in a page. My problem is, i enter the values in name and id textboxes and when i select a date from the calendar control the page is postbacked and the values in the top two textboxes are cleared...
I want the values entered not to be cleared.
Please help...
Regards,
Sivaprasad
|
|
|
|
|
Check the viewstate property, if it is disabled then enable it.
Best Regards,
Apurva Kaushal
|
|
|
|
|
view state property is enabled...still the same problem persists..
Is there some other property to be set for the user control..
The same code is working fine when the date control and the textboxes are kept in a page but not as a user control..
when these controls(2 text boxes and a calendar control)are made together as a user control I am geting this problem
Regards,
Sivaprasad
|
|
|
|
|
Its working quite fine with me when doing the same thing. Are you generating the user control dynamically?
And also what is that drop down date control?
Best Regards,
Apurva Kaushal
|
|
|
|
|
dropdown date control is one where the calanden dosn,t open in a new window.no need to give window.open...
Let me try it once again and if any doubts i will post it
Regards,
Sivaprasad
|
|
|
|
|
Hi all,
I am using Ole object datatype for storing image in database everything is fine,But I want to save text in in same database field(Ole object datatype) is it possible ? if yes how?
Thanks,
Nagraj
-- modified at 3:39 Tuesday 29th August, 2006
|
|
|
|
|
Hi,
I am using Datalist Cotrol in asp.net 2.0. In that I have a textbox for which I have written a javascript to set visible true and false.With that only Textbox I have also attached a required field validator , which validates if the Textbox is empty or not before the page is submit.
Problem:- Even if the Textbox is set to visible = false with javascript and the Textbox is empty the page is not getting submit because somehow the required field validator is still validating the Textbox even if the textbox is not visible.I need to remove this reqired field validator if the textbox is not visible.
Please help me how I can submit the page with this conditional situation.
Regards
Deepak
|
|
|
|
|
Whereever you are making that textbox invisible there itself you set the requiredfield validatior enabled = false.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
My virtual directory is C:\Intpub\wwwroot.And i created a directory i.e prwebsr under wwwroot.In the PRWEBSR directory i created a webservice.After that when i try to add a reference of that created web service it is giving error.COULD NOT CREATE TYPE SERVICE.Why this error is coming.If i created a webservice under the WWWROOT then ADDWEBREFERENCE is successful.
Please help me
Thanks in advance
-- modified at 2:15 Tuesday 29th August, 2006
|
|
|
|
|
i am not getting your problem properly
Mahendra
|
|
|
|
|
Mark the prwebsr as application in the IIS
Hope this will solve your Problem
Navi
|
|
|
|
|
How to make Custom Grid.
Can anybody give me solution.
Thanks in advance......
Kartik Rathi
|
|
|
|
|
Check out this link
www.datagridgirl.com
Navi
|
|
|
|
|
i want to use message box on button click event in asp.net,i dont want to use java script..
Is there any solution?
replay soon
|
|
|
|
|
Create a public class
Public Class msg<br />
Public Shared Sub CreateMessageAlert(ByRef aspxPage As System.Web.UI.Page, _<br />
ByVal strMessage As String, ByVal strKey As String)<br />
Dim strScript As String = "<script language=JavaScript>alert('" _<br />
& strMessage & "')</script>"<br />
<br />
If (Not aspxPage.IsStartupScriptRegistered(strKey)) Then<br />
aspxPage.RegisterStartupScript(strKey, strScript)<br />
End If<br />
End Sub<br />
<br />
End Class
create message box by calling that class:<br />
strMessage = "Your request submited"<br />
'Call separate class, passing page reference, to register Client Script:<br />
msg.CreateMessageAlert(Me, strMessage, "strKey1")
==postmaster
http://www.programmingknowledge.com/[^]
|
|
|
|