This is a migrated thread and some comments may be shown as answers.

it doesn't work when i use UrlRewriter

2 Answers 31 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Valera
Top achievements
Rank 1
Valera asked on 27 Oct 2008, 11:24 AM
take my test website and try help me.plis

http://xaf.cmsplanet.ru/delight/mymulticombo.zip

it website doen't contain telerik's *.dll

2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 27 Oct 2008, 02:39 PM
Hello Valera,

I have already replied to your support ticket:

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?


Greetings,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Valera
Top achievements
Rank 1
answered on 27 Oct 2008, 04:11 PM
Try to configure the Url Rewrite and use /search/ address.

Actually I found a solution. 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.
Tags
ComboBox
Asked by
Valera
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Valera
Top achievements
Rank 1
Share this question
or