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.
#1. Use the following properties:
<ig:WebDropDown ID="WebDropDown1" runat="server"
BorderStyle="Solid" BorderWidth="3px" BorderColor="Aqua">
#2. You should ask Developer Support for that. They will create you a case for this problem.
#3. You need every time to check the count of drop down items and depending on the number you should set the container height. I suggest you to do this if the count is lower than 10 or number close to this. Also in the following code we assume the height of an item is 30px:
<ig:WebDropDown ID="WebDropDown1" runat="server" OnInit="WebDropDown1_OnInit">
In Code-behind
protected void WebDropDown1_OnInit(object sender, EventArgs e)
{
int itemCount = this.WebDropDown1.Items.Count;
if (itemCount < 10) {
this.WebDropDown1.DropDownContainerHeight = itemCount * 30;
}
#4. Override the default Hover style:
<style type="text/css">
.igdd_IGListItemHover { color: green !important; }
</style>
Sometimes I'm sending you links to the topics, because it's good for you to get familiar with the control. Because I'm volunteer in this forum I'm not always available and it's good for you to be able to find solutions for your problems. That's why I gave some advices like using Visual Studio Intellisense (I fix #1 issue using that), using browser debugger, using our help and samples. But most of your issues were not so trivial and it was very interesting for me to investigate them. So I hope these answers will help you again.
Best regards, Nikolay
#1: It is not working as expected. I am able to see the border but the main problem is that there is a gap between the dropdown textfield and border which looks awkward. When I place cursor on the webdropdown, then only, the gap between textfield and border goes off.
#2: I don't think this is possible for a trial version. If yes, how to do this?
#3: Working as expected.
#4: Did not work.
#5: Another issue, when I open the webdropdown, it closes automatically the very first time. When I open it the second time, then only it shows the items and stays here.
Also, whom do we need to contact to get the license and how much time it will take?
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
Is there a way to set the current display text and value of a webdropdown in the server-side(code behind vb file)?
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