Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Mobile (http://www.velocityreviews.com/forums/f61-asp-net-mobile.html)
-   -   CustomAttribute in Mobile controls (http://www.velocityreviews.com/forums/t764436-customattribute-in-mobile-controls.html)

JL 12-14-2006 08:32 PM

CustomAttribute in Mobile controls
 
I have a js file with the function SelectedIndexChanged

I have added the below code also in the aspx
<script language="javascript" src="/Scripts/Search.js"></script>

In the cs file I have added the customeAttribute as shown below
ddlSrch.CustomAttributes.Add("onchange", string.Format(
"SelectedIndexChanged('{0}','{1}','{2}');", ddlSrch.ClientID,
tbSrch.ClientID, tb1st.ClientID));

In the web.config I have enabled
<mobileControls allowCustomAttributes="true" />
But still the javascript method is not called.



All times are GMT. The time now is 04:32 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.