|
DeepikaAggarwal wrote: How to poop up a
mistype...
there are plently of articles out there to help you on this.
Your question is too vague to try and explain how to do each aspect
|
|
|
|
|
DeepikaAggarwal wrote: How to poop up a Calender Control in an aspx page
window.open('myPage.aspx','Title',........)
Put calendar control on myPage.aspx and write belove code on SelectionChanged event of calendar control
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
Response.Write("<script language="javascript">opener.document.getElementById('YourParentTextBoxID').value='" + Calendar1.SelectedDate.ToShortDateString() + "'; self.close();</script>");
}
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi there,
I've just done some work to update a web project and at deployment time i moved it to a 2k3 server box. I've been getting loads of Interop errors and I don't seem to be able to get to the bottom of what's causing them. This is the error message:
System.Runtime.InteropServices.COMException: Creating an instance of the COM component with CLSID {6D52994B-FDB5-4E5F-96DA-C243B8B42CF5} from the IClassFactory failed due to the following error: 800a0030.
Just to check that i had deployed everything, I published the project to the old server and registered the new version of the dll and it runs fine on that machine.
Is there a security issue with running com components out of iis these days? I've done a fair few searches for things like "asp iis interop security" etc and don't seem to get anything back.
Any help would be greatly appreciated,
Russell
|
|
|
|
|
I don't know much about COM Exceptions but error message 800a0030 usually means that the application is busy. I don't know about error code
6D52994B-FDB5-4E5F-96DA-C243B8B42CF5.
You can check following things
1. Reboot the server and start the application, If you get same error open Task Manager and check all process might be your COM process is running.
2. Might be the COM dll you are using in the application is not properly installed in this server.
Are you using EXCEL Object ?
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... "
Check My Blog
|
|
|
|
|
Thanks for your answer.
6D52994B-FDB5-4E5F-96DA-C243B8B42CF5 is the guid for the com component that i'm trying to call. It's registered properly and a registry search for the clsid shows the correct path to the dll.
I've tested a few methods on the dll by using vbscript on the desktop and it works fine, it's just the IIS environment where it doesn't work. Rebooting the server isn't an option
I'm not using Excel
|
|
|
|
|
Hi
I want to send a var from my friend’s web site to mine when someone clicks on a hyperlink to my web site. He is using HTML and I am using ASPX pages with VB code behind. The var is a static text value. There is more then one. I need to know witch text to use on my side
|
|
|
|
|
put it on the URL
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
|
why should i go for abstract class or interface .why should i give only the declaration for the methods etc..in abatract class or interface and give content in my derived classes..
|
|
|
|
|
This is not an ASP.NET question.
You'll see the use of these things as you write more complex projects.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi
I am using modal popup extender.
the popupcontrol is a panel with an update panel inside.
In here is cancel or save button.
Cancel takes the user back to the page but save should take the user to another page.
My question is how can I call an onclick event in modal popup extender?
thanks
|
|
|
|
|
Could you elaborate for which button your looking for onclick event?
|
|
|
|
|
Hi
I have a button in my popup panel which when clicked should run an onclick event.
The onclick event is not being called inside the panel.
How can I call an onclick event inside the panel which is the target control of the modal popup
thanks
|
|
|
|
|
You need to add onclick event from code behind.
E.g. btnOK.Attributes.Add("onClick", "return done();");
btnOk is id of the button placed inside the panel.
|
|
|
|
|
Can you post your aspx code ?
i think there is something wrong you are doing
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... "
Check My Blog
|
|
|
|
|
Ok
I have just figured out the problem and the solution is something that no one has suggested but may be very useful for any1 in the future. Might even write an article about using modal popup with button inside which requires onclick event.
I had to include UseSubmitBehavior="false" in the button which had the onclick
hope this helps someone in the future.
cheers
|
|
|
|
|
The database server is in the another machine and when i run the asp page from that particular machine, everything works fine
BUT when i run the asp page from localhost, it gives the error:
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
I don't know the problem. someone help me!
|
|
|
|
|
|
<----<a href="javascript:var win = window.open('\Blue_Max_Popup.aspx?item_id=<%# DataBinder.Eval(Container.DataItem,"Sch_Pro_Id") %>',null,'resizeable=yes,scrollbars=yes,width=600,height=600');">
<asp:Image ID="Image_Small" runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem,"Pro_Name") %>'
src='<%# Eval("Img_Url")%>' BorderColor="GradientInactiveCaption" /></a>--->
krishna veer singh
|
|
|
|
|
Hello all,
I need a treeview inside the dropdownlist. How can i do that one.
For example refer following link.
Click Here
Please guide me.
|
|
|
|
|
You can call it comboBox
If you want to create your own control then you will have to write large bunch of code in javascript
There are 3rd party combo box available check them you can use them
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... "
Check My Blog
|
|
|
|
|
case 1: local web service
I am able use the method in asmx file in my aspx i think it is a local web service
case 2: Remote web service
I am able to use the method remotely also by taking web reference in my solution explorer. Following link is free Web service to get Stock Quote of the company by passing the company symbol.
http://www.webservicex.net/stockquote.asmx?WSDL
where i am actually using SOAP I don't under stand can u please tell me where i am using SOAP.
Is any thing more i need to learn about web service, can u any one give me good links to download samples on web service
This is haneef.............................................................
|
|
|
|
|
|
what u want to say exactly
This is haneef.............................................................
|
|
|
|
|
Still ???
Click this: http://www.webservicex.net/stockquote.asmx?[^]
Can u see GetQuote?? THis is one function defined in that site, and u want to use that function to get Quotes of stocks right???
For that u call that function from ur site. THis mean u create an object of that function and accessing that from that host site.
This terms as Object Access...
And protocol for this is called Simple Object Access Protocol (SOAP)
Anand Desai
Developer
Atharva Infotech
|
|
|
|