Welcome Guest Search | Active Topics | Sign In | Register

MaskedEdit Options
Zahid
Posted: Monday, November 22, 2010 7:44:56 AM
Rank: Newbie
Groups: Member

Joined: 11/22/2010
Posts: 1
Hi,
I am using eo:MaskedEdit on a usercontrol.ascx and and control is displayed in the eo:Dialog. How can I get a value which user has entered in eo:MaskedEdit in the code behind to save it in the Database. It is showing like the following when a user enter 1234 value.

<!-- Begin EO.Web MaskedEdit txtArea. -->
<div style="position:absolute; top:-1000px;"><input type="hidden" name="_eo_js_modules" value="/eo_web.ashx?id=88d66491-4d75-4913-9e44-6cabb5428e96|u|/eo_web.ashx?id=c4f2594f-639a-46a7-815a-f06c78b315ee|ei|/eo_web.ashx?id=00632955-fc56-48d5-9fa9-7055894f042e|e|/eo_web.ashx?id=53e30191-5993-49b0-af59-49da24601512|pop|/eo_web.ashx?id=678d967b-d09f-4945-961b-cb084c6d7ba2|dd|/eo_web.ashx?id=8dc3df83-50ed-45f6-99be-b3fb61fdad85|c|/eo_web.ashx?id=c0461b95-1848-468c-91d2-a65b75fcd9ec|dg|/eo_web.ashx?id=4b49c440-ca67-4253-9ac2-1f2a81b00308|nv|/eo_web.ashx?id=1642d163-cca8-444b-a25a-1fe7a5c6b5ab|m|/eo_web.ashx?id=b56805d1-b916-4e4f-9bca-a922bf7eadb1|ts|/eo_web.ashx?id=b816eb98-4495-410c-8cd9-06e12280dac6|me" /></div>
<input id="ctl00_MainContent_ctl00_txtArea" accesskey="A" style="font-family:Courier New;" />
<script type="text/javascript">
//<![CDATA[
window._eo_initobj_ctl00_MainContent_ctl00_txtArea=function(){var list="i|u|me".split("|");for(var i=0; i<list.length; i++) { if (!window.eo_modules || (("|"+window.eo_modules).indexOf("|"+list[i]+"|") < 0)) { window.setTimeout("_eo_initobj_ctl00_MainContent_ctl00_txtArea()", 100); return; } } _eofi_a.a.b.ctl00_MainContent_ctl00_txtArea=1;_eofi_b("_eo_o_ctl00_MainContent_ctl00_txtArea","txtArea",new _eofme_dg([[[,"ctl00_MainContent_ctl00_txtArea","MaskEdit","ctl00$MainContent$ctl00$txtArea"],,"__doPostBack(\'ctl00$MainContent$ctl00$txtArea\',\'_eo_arg_\')",,,,,,,,[]],new _eofi_du([,new _eofme_dx([,1," 1234"])])]),"MaskEdit"); eval(_eofi_u(unescape('%78%78%78%7B%6D%65%70%0E%3B%68%7A%73%65%7B%78%76%7D%02%34%36%6B%66%74%72%04%47%75%7A%0E%78%77%0A%63%69%01%06%43%39%74%78%7E%01%5A%06%6E%76%30%37%38%08%09%75%02%30%26%3C%42%4E')));}; _eo_initobj_ctl00_MainContent_ctl00_txtArea();
//]]>
</script>

<!-- End EO.Web MaskedEdit txtArea. -->

Thanks in advance for your help.
--Zahid
eo_support
Posted: Monday, November 22, 2010 9:21:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will need to expose some kind of interface (a method, a property or anything else that can get the value for you) on your user control to get the value of your MaskedEdit. This is the same as if you have standard TextBox control in your user control.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.