How to specify the WebDropDown Current Text (Entered By User) Max Length = 3
Hello,To achieve the limitations you requested you have to add WebTextEditor to your page and set its property MaxLength to 3 as in the following code:<ig:WebTextEditor ID="WebTextEditor1" runat="server" MaxLength="3">
</ig:WebTextEditor>
and then set the EditorID="WebTextEditor1" of the WebDropDown you want to limit. However it occurs that there is an issue with this under IE and I have logged this behavior in our internal tracking system with a Development ID of 84465. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by going to the “My IG” tab on our website, hovering to the "My Support Activity" dropdown and selecting the "Development Issues" tab.
you a so as a temporary solution I will suggest you to handle one of the following events of the WebDropDown:function WebDropDown1_ValueChanging(sender, eventArgs)
{
if (sender._elements.Input.value.toString().length > 3)
eventArgs.set_cancel(true)
}
function WebDropDown1_InputKeyDown(sender, eventArgs)
Please let me know if you need further assistance.
Hi Nikifor,
Thanks for the quick Reply, above mentioned solution with using EditorID="WeTextEditor" worked perfectly. I have tested it along with all the major new released Browser(s), its working fine except IE, that you had already mentioned.Following Code :
function igdropdown_ValueChanging(sender, eventArgs) { alert("inside function"); if (sender._elements.Input.value.toString().length > 3) eventArgs.set_cancel(true) } function igdropdown_InputKeyDown(sender, eventArgs) { alert("inside function"); if (sender._elements.Input.value.toString().length > 3) eventArgs.set_cancel(true)
Doesn't hits the alert. I'm missing something.
Is there any way to pass parameters in below mentioned example:
ClientEvents-InputKeyDown="isNumeric(XXX);"
where xxx is the parameter to be passed:
function isNumeric(keycode){
//SOME CODE
Thanks
Hello Abhishek ,
I’d just like to notify you that this issue has been resolved in our newest service release version: 11.1.20111.2064.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
I have downloaded the above mentioned service release, Kindly let me know which Dll's should i refer because I canot find
Infragistics4.Web.v11.1XXXX dll
kindly let me know am I missing Something
Regards,
Abhishek
Hi,With the latest service realease all the versions of the assemblies are 11.1.20111.2064. Your old version contained assemblies 11.1.20111.1***. All you have to do i to replace 11.1.20111.1*** with 11.1.20111.2064
In My Solution, I have following assemblies referenced:
Web.v11.1
Web.UI.Document.Excel.v11.1
Web.Ui.Document.Reports.v11.1
Web.Misc.v11.1
Web.Shared.v11.1
Web.UltraWebGrid.v11.1
Web.WebDataGrid.v11.1
Web.WebDataInput.v11.1
In Service Release Dll's I can only find 3 out my referenced dll's
Which when referenced throws an dependency error,
I have renamed 1006 to 2064 in all the location in Web.Config and page mark-up.
Kindly let me know what is causing the issue
Thanks,
Hello Abhishek,
When installed the newest service release should be automatically added to your GAC and replace the old assemblies. Also the dll’s should be located under you main Infragistics Installation folder which is by default:
C:\Program Files\Infragistics\NetAdvantage 2011.1\ASP.NET
There you should have the different CLR’s and the corresponding assemblies in their Bin folder . That folder should contain all the dll’s that were present in the previous release.
For more information you can refer to our online help:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/
Let me know if you have any further questions.