Hi,
I downloaded trial version of Webdropdown version:11.2.20112.1019 and started using that in my application to see whether it functions properly. If it works well, I can go ahead to buy paid license for this control.
It has been around 45 days I downloaded the control and now I am able to see one issue suddenly.
When I use $find("webdropdowninstance"), it retrieves NULL.
Is it because the trial version might have expired or there is some other issue. Please let me know.
Hi, Sunil Mehta.
You can check this forum post, I think it will help you. If you have some other questions don't hesitate to ask them.
Best regards,
Nikolay
Hi Nikolay,
I have tried using ClientIDMode="Static" like this:
<ig:WebDropDown ID="dropdown" runat="server" ClientIDMode="Static">
</ig:WebDropDown>
After this, I tried using $find("dropdown") and also #find("<%=this.dropdown.clientID%>") but both are returing NULL value and not the object. What may be the issue?
Note: I am using ClientIDMode as "AutoID" in web.config file and I am not looking for a solution to make ClientIDMode changes in web.config.
Nikolay,
Sending the code will be difficult. But I am sure that there is some problem with the dll I am using. Can you please send me the webdropdown ddl that you are using. I will use that in my application and see. The reason I am saying is that before 20-25 days, it was working. So, I feel there may be some issue due to expiration of the trial version.
Today, I tried to use Infragistics webdropdown for 1 control and my existing webdropdown for another control on the same page. Then I just tried the display the value on the screen for both of the dropdowns at the same place.
I am able to retrieve the value of webdropdown other than infragistics.
Hi, Sunil.
In general $find should work, even your trial period has expired. Maybe this is not the problem but if you want you can contact our Sales team to extend your trial period.
Sorry Sunil, but also I cannot provide you DDL files that I'm using. You can try to download the trial packet again, maybe this will help you. It's seems that there is really a problem with your DLL files and the problem is specific that's why you can share some other details about your solution, like where you deploy the project.
I hope that soon we will resolve your issue.
Best regards, Nikolay
I have downloaded the new version Infragistics4.Web.v12.1. Still, I am not able to retrieve the value of webdropdown in javascript file. I think the problem is because the control in not instantiated at the time I try to get value of the control.
Here is a brief discription of my code. If you can help me, what to do:
1) The application has aspx file where I am registering the infragistics webdropdown as follows:
<%
%>
2) Then, I am creating the webdropdown. The aspc file has a code-behind .vb file from which I read the values from database and populate the webdropdown fields.
3) The application uses a usercontrol .ascx file which calls the first function(setDefault) of javascript file where the application does client side validations. In this SetDefault() function, I am trying to retrieve the value of webdropdown.
<
body class="PgBody" onload="BLOCKED SCRIPTSetDefault();history.forward(1);" onkeydown="BLOCKED SCRIPTblockKeys()" onunload="BLOCKED SCRIPTif (document.all){SessionDestroy();}">
I think this user control file is calling the setDefault() function before the aspx file loads all the webdropdown controls. Can you please suggest something on this? I am not sure how I can make this work.
FYI, I tried retrieving the value of webdropdown after fully loading the page and it works.
To be sure that the WebDropDown is loaded you need to use one of its client-side events. Is it possible in your code to call the SetDefaults() method, not on load of the body, but in some of the WebDropDown client-side events?
<script type="text/javascript">
function wddTest_Initialize(e, args) {
SetDefault();
}
script>
<ig:WebDropDown ID="wddTest" runat="server">
<ClientEvents Initialize="wddTest_Initialize" DataBound="wddTest_DataBound" />
ig:WebDropDown>
The other option is to use jQuery load event of the window object (I gave you example in one of my previous answers), but I'm not very sure if this is going to fit your case.
I have around 10 webdropdowns on one page. You mean to say I should use <ClientEvents Initialize="wddTest_Initialize" DataBound="wddTest_DataBound" />
in any one of the 10 webdropdowns or probably the last one on the page. Please confirm and then, I will try the option that you have suggested.
Meanwhile, what is this method "wddTest_DataBound". Do I need to use this as well. If yes, may I know the definition of this method.
Thanks,
Sunil Mehta.
If it's not a problem for you, please create different forum thread for this issue. It's because the last problem is different from the title and idea of the current forum thread and it such cases is better to separate them.
Thank you
Is there a way to set the current display text and value of a webdropdown in the server-side(code behind vb file)?
Hello Sunil,
With your trial account you can create cases in our system as well.
You need to log in to your account on our web.
After that go to “Help” section in the sub menu find “Submit Support Request”. Now you are ready to select the technology, platform, etc.
According to the last your question. About the licensing you will need to contact our sales team it will not take a long time. Call them or email them. This page is for reference to their contact details:
https://ko.infragistics.com/about-us/contact-us/
If you need additional assistance, do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Nikolay, Please do the needful for #1, #2 and #5.
For purchasing you need again Sales team.
About #1, #2 and #5 you need to create a case in the Developer Support. If you don't know how I will tell a colleague from DS team to help you.
About #4, try this:
.igdd_IGListItemHover a { color: green!important; }