Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
Embedding Webdatechooser and webcombo in Ultrawebgrid
posted

Hi,

I had embedded webdate chooser and webcombo in Ultrawebgrid and mu souce code is as follows for these

 < igsch:WebDateChooser id="wdcrenewaldate" runat="server" Width="118px" Height="6px" Font-Size="8pt"

 

Font-Names="Verdana" ShowDropDown="True" NullDateLabel="-Select Date-">

 

<CalendarLayout>

 

<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></CalendarStyle

 

 

 

> 

 </CalendarLayout>

 

 

<DropDownStyle Font-Size="8pt" Font-Names="Verdana"></DropDownStyle>

 

 

<DropButton ImageUrl2="./images/igsch_dropdown_down_o2003silver.gif" ImageUrl1="./images/igsch_dropdown_down_o2003silver.gif"></DropButton>

 

 

</igsch:WebDateChooser>

 

 

 

:webcombo id="WebCombo1" runat="server" DisplayValue = "Insurance Type" Height="20px" Width="123px" Font-Names="Verdana" Font-Size="8pt" BorderStyle="Solid" BorderWidth="1px" SelBackColor="LightSteelBlue" BackColor="White" ForeColor="Black" SelForeColor="51, 51, 51" Version="2.00" BorderColor

 

 

="Gainsboro">

 

 

<Columns

>

<

 

 

igtbl:UltraGridColumn

>

</

 

 

igtbl:UltraGridColumn

>

</

 

 

Columns

>

I place webgrid, webcombo, webdatechooser into the page and  on grid initioalise layout event

UltraWebGrid2.DisplayLayout.Bands[0].Columns[20].EditorControlID =

"wdcrenewaldate";

UltraWebGrid2.DisplayLayout.Bands[0].Columns[15].EditorControlID =

"WebCombo1";

in this way I could bind the controls to grid.

When i am running the page and grid is loaded, i am unable to view these controls in their columns.

If i double click on that particular cell, then that control is activated. I want see the drop down button on grid load in that pasrticular

column. Is it possible.

Is my approch of inserting control in grid is correct, if not please correct me.

ThankYou

Can U please help me on this???