|
Set 'SmartNavigation' property of page to TRUE.
|
|
|
|
|
Hi everyone i've one WYSIWYG editor that im using in my classic ASP application. Im quite really unhappy with this control bcoz its not working in Mozilla and fine in IE.When i debug thru the code i found that these guys are using funny obscure document.all everyehere.I replaced it with getElementById and then i found insertAdjacentHTML which again is fixed using another workaround.But now im stuck up in attachEvent. Im not really getting any idea how to solve this.Please show me a way.
You can find my control in the forum section in www.codepal.co.nr.
Cheers
Bino
www.codepal.co.nr
|
|
|
|
|
Sean Archer wrote: But now im stuck up in attachEvent
attachEvent is a proprietary method for IE. For Netscape/Firefox use addEventListener instead
hope this helps
|
|
|
|
|
no,its not working
Cheers
Bino
www.codepal.co.nr
|
|
|
|
|
Bino B wrote: no,its not working
See the below sample
var Browser = navigator.appName;
if ( Browser != "Netscape" )
{
YourObject.attachEvent('onkeypress', editorEvents);
}
else
{
YourObject.addEventListener('keypress', editorEvents, true);
}
here editorEvents is the method which handles the events.
|
|
|
|
|
Hi
I've hosted a website in classic ASP backend MS Access.
Im getting this annoying error "Microsoft.Jet engine error System resource exceeded" and sometimes some funny error message like "Catastrophic Error".
I get to know that this is becoz of IWAM_USER permission on the corresponding db folder.But in my case im not supposed to(i can say i cant) modify the folder settings in some other server.What could be done in this case?Please shed some light on this.
my site is
www.codepal.co.nr[^]
and the thing is this funny error wont occur too often,it appears whenever we need to do something in an emergency as Murphy stated it
Cheers
Bino
www.codepal.co.nr
|
|
|
|
|
what happened to the techno geeks? y no one is responding?
Cheers
Bino
www.codepal.co.nr
|
|
|
|
|
I want to create a control that acts like a FormView. I want to have the ability to have a template arrow which allows me to convert a selected column to a TemplateField. Within that field, iwant tobe able to drag and drop controls into it and use the EVAL("fieldname") method to retreive values.
If you need any more clarifications, please let meknow. Your help is highly appreciated!!
|
|
|
|
|
Hello all,
Does anyone know of a good article that shows how to make a custom pager control that isn't tightly coupled to any particular ASP.NET control or to the databinding interfaces? What I need is basically something that allows you to:
1) Tell it the number of pages
2) Have it keep track of the current page, raising events when the page changes.
3) Implement First, Previous, Next, and Last navigation buttons (events should be fired on these as well).
All the tutorials I have been able to find assume that you are using this control along with a datagrid or at least a typical .NET datasource. I'm using NetTiers to return the data, but I'm doing a bit of manipulation to it before rendering, so I need something that just provides the paging UI, but no functionality. Any ideas?
Thanks,
Will
|
|
|
|
|
Well I have my own control but it is not in any articale. Here is what I do:
1. I have created four buttons for next, previous, first, last
2. Four mouse over images for the same
3. Four images for disabled buttons
4. Next thing I did was created a div with the following child controls:
a. Label on left side to display Total number of rows in the result set
b. Label iin the center to display Page x of y
c. Four navigation buttons (Asp:imageButton) on right along with a drop down list containing number of pages labeld as Jump To Page.
I use the above control [div] as a separate control on some pages and on some pages I add to the pager control of the gridview.
Now in case of a separate control, after binding the gridview, I show or hide this div depending on the results. And show the right buttons depending on the current page. (first and previous are disabled in case of first page and last and next are disabled in case of last page). I fill the drop down list (Jump To Page) depending on number of pages in the gridview. I also show right text on laebls (total and current page etc.)
-----
|
|
|
|
|
I'm a beginer of ASP.NET.
During developing, I found some problem that ASP.NET can't implements some works.
so I decided to develope windows application for my problem. but is it possible ASP.NET would includes this windows application(exe file)?
I'd like to give your careful help.
Please help me!!!
|
|
|
|
|
No. ASP.NET web applications run on a server and produce HTML pages accessible via a web browser. Windows Forms applications run as executables directly on a client machine. The two application architectures are fundamentally different.
What exactly is the problem you are experiencing? Are you having difficulty developing some functionality in ASP.NET that you can produce more easily in a Windows Forms application? You could consider developing an ASP.NET application that utilizes Ajax. Ajax is an umbrella term for a set of technologies that can be used to develop web applications which more closely resemble a windows application in their look and feel.
Paul Marfleet
|
|
|
|
|
I know that Ajax is very helpful for web development.
But Ajax is'nt what i wannt.
Especially, I'd like to know about developing AxciveX control for IExplorer.
My platform is VS.2005.
Please help me!!!
|
|
|
|
|
You could have a look at this article[^]. However the author does state that developing Windows Forms controls for use in ASP.NET web pages isn't the best way to do things.
Paul Marfleet
|
|
|
|
|
Thank you for your help.
but i cant't view the article which you've pointed.
Would you like to send me some reference using e-mail?
My e-mail address is kichoe25@hotmail.com.
Regards
|
|
|
|
|
Why can't you view the article? It's just a link to another web page. If you can't view the link from the forum then emailing it to you won't make any difference.
Paul Marfleet
|
|
|
|
|
Im trying to display information from a datbase using datagrid on the website but I keep getting the following error:
'ASP.customers_aspx does not contain a definition for 'SqlDataSource1_Selecting'
anyone know why???/
-- modified at 17:11 Monday 22nd October, 2007
|
|
|
|
|
You have deleted probably a method asociated to that selecting event on this sqldatasource1. Go to markup view of this page, search sqldatasource1 declaration and delete event onSelecting...
Visit my blog at http://dotnetforeveryone.blogspot.com
|
|
|
|
|
hi Mr
You are Shure Define the DataSource in Your Connection String
Thaer Hamael
Thaer
|
|
|
|
|
just remove the event from ur HTML,thats it done
Cheers
Bino
www.codepal.co.nr
|
|
|
|
|
Hi, is there a component to make chart like it, and can zoom (exactly for that purpose)
www.geni.com
Best wishes
|
|
|
|
|
i need to know how we can save the files that is loaded using the file upload control
|
|
|
|
|
Use the SaveAs method exposed by the control.
Paul Marfleet
|
|
|
|
|
no i mean that i write a web page this page contain as upload control i need som ideas that enable me to save the uploaded file from the other peoples on the internet into the server hard disk
|
|
|
|
|
I'm afraid I don't understand your question. What do you mean by 'other peoples'?
If you have a page that includes the ASP.NET FileUpload control, the user has to select a file. When the page is posted back to the server, you can programmatically work with the contents of the posted file.
If your question relates to some other mechanism of file upload, please be more specific about what you want to do.
Paul Marfleet
|
|
|
|