I try to make Multiple ComboBoxes. When URL
http://domen/MultipleComboBoxes.aspx that all works for me. And when at
me URL http://domen/MultipleComboBoxes / that arises javascript an
error: [Exception... "Component returned failure code: 0x80070057
(NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult:
"0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame::
http://localhost:2437/WebResource.axd? d = _
xqoAC_y7luLaqnRFtp75Q2&t=633319519957187500:: WebForm_DoCallback::
line 85" data: no] http://localhost:2437/ScriptResource.axd?
d=GiHDpx3Edvlp530KVXGWp5ALxOE0Ls5RydtpO73IdXUf62yfsN_0xRfWfirAYu0IMgaxSEVmE72x95NmRQhs1A2&t=633583814480000000
Line 655. How to get rid of an error?
5 Answers, 1 is accepted
0

Valera
Top achievements
Rank 1
answered on 24 Oct 2008, 12:51 PM
I think it because CallBack goes not on that page. How to specify in
what page the data should be given.
p.s. Excuse me for my English.
p.s. Excuse me for my English.
0
Hello Valera,
It seems you are trying this using the Visual Studio's web server.
Here is what I have tried:
1. Downloaded your application (mymulticombo.zip)
2. Added the latest dll files (Q3 2008 Beta)
3. Created a virtual folder (called mymulticombo) in IIS which points to the application. Then I added default document for that virtual folder to be search.aspx
4. I opened the http://localhost/mymulticombo/ URL in the browser and the page worked fine. All the comboboxes were fine.
What is different in your case?
Sincerely yours,
Veselin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
It seems you are trying this using the Visual Studio's web server.
Here is what I have tried:
1. Downloaded your application (mymulticombo.zip)
2. Added the latest dll files (Q3 2008 Beta)
3. Created a virtual folder (called mymulticombo) in IIS which points to the application. Then I added default document for that virtual folder to be search.aspx
4. I opened the http://localhost/mymulticombo/ URL in the browser and the page worked fine. All the comboboxes were fine.
What is different in your case?
Sincerely yours,
Veselin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Valera has already found the solution - here it is:
When using Url Rewriting ASP.Net creates a form without action like this:
<form runat server action="">...</form>
It's the case your javascript doesn't raise a callback event (because theForm.action == "").
I created a small fix:
<script language="javascript">
theForm.action = "<%=Request.RawUrl%>";
</script>
now it works fine.
I hope this can help someone to use your controls + url rewriting.
Best wishes,
Veselin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
When using Url Rewriting ASP.Net creates a form without action like this:
<form runat server action="">...</form>
It's the case your javascript doesn't raise a callback event (because theForm.action == "").
I created a small fix:
<script language="javascript">
theForm.action = "<%=Request.RawUrl%>";
</script>
now it works fine.
I hope this can help someone to use your controls + url rewriting.
Best wishes,
Veselin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Lindsay
Top achievements
Rank 2
answered on 17 Dec 2008, 08:56 PM
Thanks! Helped a lot!!!!
0

Alex
Top achievements
Rank 1
answered on 22 Dec 2008, 11:54 PM
ScottGu's site also has a great solution.
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
It's under the section called "Handling ASP.NET PostBacks with URL Rewriting".
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
It's under the section called "Handling ASP.NET PostBacks with URL Rewriting".