Nov 29, 2011, 2:17 PM
Problem to pass parameters to an URL by a store
Hello
Here's my problem:
I have a calendar that I want to fill or not, depending on a checkbox checked or not. But I did not understand how to do. Here what I have done as I understand of what I read elsewhere on the forum :
Thanks to answer.
Here's my problem:
I have a calendar that I want to fill or not, depending on a checkbox checked or not. But I did not understand how to do. Here what I have done as I understand of what I read elsewhere on the forum :
<EventStore
ID="stoCalendar"
runat="server"
DateFormat="M$"
SaveMappings="false">
<Proxy>
<ext:HttpProxy Url="jsonDal/ReturnJsonCalendar.aspx" Json="true" />
</Proxy>
<BaseParams>
<ext:Parameter Name="ShowParis" Value="#{chkResMedParisVisible}.getRawValue();"></ext:Parameter>
</BaseParams>
<Reader>
<ext:JsonReader />
</Reader>
</EventStore>
I think it is good but I don't know how to get paramaters ShowParis in code behind : Dim bShowParis As Boolean = CBool(Request.QueryString("ShowParis"))
This works well (and hopefully) if I pass the parameter in the URL calling like this : <ext:HttpProxy Url="jsonDal/ReturnJsonCalendar.aspx?ShowParis=true" Json="true" />
but not whith the baseparam system...So what I have misunderstood or what is missing?Thanks to answer.