Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: Combobox Table Atributes Render [27297]

$
0
0
I'm needing to align horizontally combobox and a textbox in the same position, but the combobox is always below the textbox, I realized that the source code is set a style that adds a value "Top = 5", which prevents me from align controls on the page.

>> ComboTable.Style.Add(HtmlTextWriterStyle.Top, "5px");



protected virtual void AddTableAttributesToRender(HtmlTextWriter writer)
{
ComboTable.CellPadding = 0;
ComboTable.CellSpacing = 0;
ComboTable.CssClass = "ajax__combobox_inputcontainer";
ComboTableTextBoxCell.CssClass = "ajax__combobox_textboxcontainer";
ComboTableButtonCell.CssClass = "ajax__combobox_buttoncontainer";
ComboTable.BorderStyle = BorderStyle.None;
ComboTable.BorderWidth = Unit.Pixel(0);
if (RenderMode == ComboBoxRenderMode.Inline)
{
ComboTable.Style.Add(HtmlTextWriterStyle.Display, GetInlineDisplayStyle());

if (!DesignMode)
{
// when rendered inline, the combobox displays slightly above adjacent inline elements
ComboTable.Style.Add(HtmlTextWriterStyle.Position, "relative");
ComboTable.Style.Add(HtmlTextWriterStyle.Top, "5px");
}
}
}



eu não consegui executar o código fonte que eu baixei hoje no site, ao tentar debugar é exibido uma lista com erro

(Error 1112 The name 'ViewState' does not exist in the current context C:\Users\priscilatome\Desktop\ajaxcontroltoolkit-d864443e4a38\SampleWebSites\AjaxControlToolkitSampleSite\App_Code\HTMLEditor.CustomButtonsAndPopups.cs 45 32 C:\...\AjaxControlToolkitSampleSite\
)

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>