Hi
I m having a problem in the position of dropdownlayout when i click the webcombo which is in updatepanel;
I m scrolling the page to open the Updatepanel an placing it at top = 200 px .
when i click the webcombo the dropdown appears at the top which i need to scroll the page and look..
why webcombo and its dropdown not appear at the same position?
Hello,
I am trying to reproduce the problem, unfortunately to no avail. Could you please send a little bit more information about the WebCombo declaration – this will surely provide additional clues. ASPX declaration, code-behind – anything that can get us started is welcome.Thanks.
A ultrawebgrid is placed at thebottom of the page which is double clicked by scrolling the page .
Updatepanel is shown whose display is made to none;
here is my aspx code for the update panle which has webcombo in it.
<asp:UpdatePanel ID="UpdatePanelContractPricing" runat="server" >
<ContentTemplate>
<table style="width: 427px; margin-top: 0px;" >
<tr >
<td colspan="3" align = "center" >
<asp:Label ID="Label15" runat="server" Text="Contract Pricing Editor"></asp:Label>
</td>
</tr>
<tr>
<td class="style81" >
<asp:Label ID="Label10" runat="server" Text="Product Code :"></asp:Label>
<td class="style80" >
BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
HideDropDowns="False"
SelBackColor="DarkBlue" SelForeColor="White" Version="4.00">
<Columns>
<igtbl:UltraGridColumn>
<Header Caption="Column0">
</Header>
</igtbl:UltraGridColumn>
</Columns>
<expandeffects shadowcolor="LightGray" />
rowheightdefault="20px" SortCaseSensitiveDefault="False" version="4.00"
XmlLoadOnDemandType="Accumulative" AutoGenerateColumns= "False" >
cursor="Default" font-names="Verdana" font-size="10pt" height="130px"
width="325px">
</framestyle>
<HeaderStyle BackColor="LightGray" BorderStyle="Solid">
widthtop="1px" />
</HeaderStyle>
BorderWidth="1px">
<borderdetails widthleft="0px" widthtop="0px" />
</RowStyle>
<SelectedRowStyle BackColor="DarkBlue" ForeColor="White" />
</dropdownlayout>
<ClientSideEvents EditKeyUp="webProductCombo_EditkeyDown" />
</igcmbo:WebCombo>
</table>
</ContentTemplate>
</asp:UpdatePanel>
I Show the UpdatePanel by calling the Javascript in aspx.cs
ScriptManager.RegisterStartupScript(UpdatePanel5, UpdatePanel5.GetType(), "", qstring, true);
and the javascript function is
var wleft = (screen.width - popupWidth) / 2;
w = screen.width;
wleft = 0;
}
h = screen.height;
wtop = 0;
var panel = $get(panelid.id);
//window.scrollTo(1200, 300);
panel.style.top = CenterTop(top);
panel.style.left = CenterLeft(left);
panel.style.width = width;
Please tell me how to make the dropdownlayout to appear along with webcombo
Can anybody please tell me how to show the Dropdownlayout of webcombo at the same place???????