Good morning --
I'm on 2013.1 using VS2012 on .NET v4.5. I'm trying to use a WebDropDown control in a different way. I can easily populate it with 1 field in a long column of 35 entries. I want to instead make it 4 columns of 9 entries each, like this:
Entry Entry Entry EntryEntry Entry Entry EntryEntry Entry Entry EntryEntry Entry Entry EntryEntry Entry Entry EntryEntry Entry Entry EntryEntry Entry Entry EntryEntry Entry Entry EntryEntry Entry Entry Entry
I tried putting a grid in the item template but it wants 4 different fields for each of the columns. Any ideas how I can do this?
Also, I'm trying to add a drop shadow to the container. It there a way to do that? I added it in the CSS but it seems to ignore it. The AppStylist doesn't have a drop shadow option.
Thanks,Michael
Can you help me? I have a webdropdown with a webdattagrid with 3 columns:name, Id and phonenumber. On selecting one i can get the name to appear but after that when I click on a button to save it, I get selecteditem =null.When I click a button, for the selected row how can i get the 'Id'' column's value ???
Please help.
So if my data is:
1 Lewis 233-389-0789
2 Ann 123-123-1234
3 Scott 234-234-7890
If the 2nd row is selected I can get to the point where the text appears as 'Ann' but aftre i click teh button to save it , how can i get the '2' value???
Please help me with an example for this scenario
Is there anyway to have a table with multiple columns instead of the webgrid. And when I select one from the dropdown, and I have a button outside the dropdown . Once i click the button, how can I make sure that i get the 2nd column's value from teh selected item server side.
Eg: if I have id, name, address as the columns. I need to get the value of 'name' column
mcase,
You are welcome. Please let me know if you need any additional assistance regarding this matter.
Thanks!
Hi Michael
I am a little unclear as to this comment: "I tried putting a grid in the item template but it wants 4 different fields for each of the columns. Any ideas how I can do this?"
Michael, I created an example with the WebDataGrid inside an item template that has 4 columns with 9 rows. Let me know if this is what you are trying to achieve. Or, if needed can you update my example to reflect your scenario and send back the modified sample.
With regards to the DropShadow css can you tell me which browser you are using
Thanks Michael.
**Please note that I omitted the style sheets due to file size constraints. For proper styling of the IG controls you will need to bring the ig_res folder back into the project. You can do this by opening the project in the designer and select 'OK' when prompted to accept the sytle sheets.