|
Dear All,
My problem is that I've made an ActiveX component in C#. This component uses .NET Remoting to load an Excel File from the server. To view the excel file I've used AxSpreadSheet. Besides the AxSpreadSheet component the ActiveX control has two buttons as well.
When I try to load it on the webform it gets loaded successfully only if I remove the AxSpreadSheet from the ActiveX component. With it, the webform doesn't load it.
To load it on the WebForm I am using the following code in HTML
<object id="activex123" classid="ActiveXComponent.dll#NamespaceName.ClassName"
viewastext="">
A.U Haq
|
|
|
|
|
HI all
I Have an application which deals with show inforamtion of employe Name & Photo
The names are display in Hyperlink When user Mouseover the Names must display the image in image control How can give the mouse over effect
Please can any one give me an idea on that
Thx
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
On pageload for example you can add an attribute to the hyperlink control where you can define some javascript to show the correct image.
hplHyperlink.Attributes.Add("onmouseover", "javascript that sets the image");
hplHyperlink.Attributes.Add("onmouseout", "javascript that removes the image");
|
|
|
|
|
Hi
thx for reply
I am trying to retrive information from database onmouseover
The image is also in database how can i give this in javascript
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
When you put the persons name in the hyperlink, you already have this information right? Why don't build the javascript on that moment instead of waiting till the user goes on mouse-over?
When you're going to get information from your database on a mous-over event it's going to be a lack of performance.
Off course you can do this, but then you'll have to take the step to AJAX technology, but I personally wouldn't use it for a mouseover.
Greetings,
KrIstOfK
|
|
|
|
|
Hi
i have a paper that content of that is text. i scan it and now i want convert it to the MSword file can i do this work???????? my text is persian language and scaner can not do this work compilitly because their font is not complete. i want a software that can do this work.
can any body help me??????
|
|
|
|
|
hai,
Is it possible to use vb srcipt in asp .net? If yes, how can we use it?If any one have ideas please share it.
Jisha
|
|
|
|
|
You can use it just like JavaScript if you are talking about client side. If you are talking about server-side then I think it is not possible.
In case of client side, use JavaScript instead!
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
How to find page.ispostback= false in global.asax?
Regards
rajesh
|
|
|
|
|
Don't understand why you should wish to find it in the global.asax.
It's a file where you can put some code when something happens with your Application (your website that's running), Session (user specific) or when some error occured ...
|
|
|
|
|
Thanks KrIstOfK,
Actaully , My problem is like this:-
I am developing web pased application in ASP.net.it contains almost 60 web pages.I have to store , how many times a web page is hit by user. I have written code on page.ispostback=false. its working well but i need a solution rather writing each and every page when page loads first time.I got solution in global.asax
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs). its working well but any how I have to find for each and every page when page loads first time in global.asax.So that I can manage exact hit by user.
Regards
rajesh
|
|
|
|
|
I see the problem.
I did not work this out but I think it's a good thougt to start with:
Each user which is visiting your website gets a unique session id, you could make a collection where you keep a unique combination of a specific session id and the page url. When Application_BeginRequest is fired you can check if for that session id the mentioned url is already in the collection, if not ad it. When you want to know how many unique hits you got, you can get the count of the collection ...
Does this helps?
|
|
|
|
|
Help Needed!!!!!
-using a datalist to display data from sql200,
-there's a product id im getting from the database and put on the url like so..http://mfashion/productlist?productID=2
-is there a way or which is the best way i can get that productid from the from the url..cause i want to use that id through out my apps.
-by the way im using asp.net 2.0
|
|
|
|
|
You might look at the Request object.
string s = Request["productID"].ToString();
Also, you will need to trap for nulls.
|
|
|
|
|
hi all,
how can i delay the download of a file like on sourcefourge and alot of other sites where you get a link saying 'If your download doesnt start in 5 secs please click here' or something simlar.
i had been doing it on page load or pre_render but the page doesnt load. This way looks alot better.
kind regards,
g00fy
|
|
|
|
|
You have to have two pages. The first one is used to display that "if your download ..." text. The second streams the file to the user (download.aspx).
So all you have to do is redirect the use on the first page to the second. You use JavaScript for that (a simple document.location can do the trick). And you make a timer with setTimeout() to make the user wait for X seconds.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
thanx
i also found some pages that use meta refresh to acheive the same thing
regs,
g00fy
|
|
|
|
|
hi guy's ,
i just want to extract data from my excel sheet to sql server 2005.how do i do this task in asp.net 2.0
please be kindly give me a solution or a sample soon as possible.
regards
amal
|
|
|
|
|
I'm working with VS 2005 , I have a login control in my website. When I debugg it everything works fine (authentication), but when I publish the website and open it from another computer, it doesn´t recognize my login account :
Can somebody help?
|
|
|
|
|
May be its still configured for local browsing only for this user.
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
How can I configure it for all kind of browsing??
|
|
|
|
|
hi how r u ?
am using forms authentication i think i made everything required
authentication mode="Forms"
<forms name=".aspxauth" loginurl="login.aspx">
void LoginBtn_Click(Object sender, EventArgs e)
{
if (Page.IsValid)
{ String EmpNo=Get_EmpNo_Login();
// a function that gets EmpNo and sets the login_err textfield (if autherized = "allowed")
if(Login_err.Text=="allowed")
{
if(EmpNo!="-100")//not autherized, just to make sure.
Response.Redirect("HomePage.aspx");
}
}
}
will i cant redirect the user to HomePage or anywhere it keeps redirecting to the login.aspx
am i missing sth?????
thx
-- modified at 16:47 Monday 8th May, 2006
|
|
|
|
|
You have forgotten callinh the Authenticate() method.
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
Can someone explain to me the correlation between the COM threading model of a web service consumer and the web service if that web service is not using COM components?
I have a simple test web service generated straight out of the VS 2003 web service wizard. It has a single WebMethod that consists entirely of a Thread.Sleep(500); call. I created a simple console app that will attempt to call the web service method 10 times. It will do so either on the main thread or on a new separate thread based on user input. The Main method of the tester is marked [STAThread]. If I call the web service method on the main thread there is no problem. If I then call it on a separate thread, the invocation freezes in the web service proxy and never gets into the web service. If I then call the web service from the main thread, the main thread works and the frozen thread unfreezes and the two sets of calls are interspersed. If I quit the application and run again, this time calling the web service on the separate thread first, the web service is called correctly. I can then call the web service on the main thread or another new thread no problem. If I change the designation of Main to [MTAThread], I can now run in any order I want.
Is there some COM thing going on am unaware of in the web service invocation? Or is this freezing problem unrelated to COM but then why does the COM threading model change have an effect.
Thanks for any help
|
|
|
|
|
When a user scrolls to the bottom of the page and clicks a button a similar page is displayed. When this second pages displays I would like it to automatically scroll down to the bottom as was the first page. Can this be done?
|
|
|
|