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
1106
TextBox Provider - Cannot set style of TextArea - Please Help. !!
posted

Net Advantage 2010 V2 Web Client

Problem.  PROVIDER_INNER_CLASS  gets rendered as a class attribute, but is overridden by the control with inline styles  see below.

//ASPX Markup

<EditorProviders>
                <ig:TextBoxProvider ID="WebHierarchicalDataGrid1_TextBoxProvider1"  EditorControl-CssClass="PROVIDER_OUTER_CLASS">
                    <EditorControl  TextMode="MultiLine"   Rows="33"   Columns="9" CssClass="PROVIDER_INNER_CLASS"
                        ToolTip="Please enter the description in here !"  ></EditorControl>
                </ig:TextBoxProvider>
</EditorProviders>

//Actually Rendered

<TEXTAREA class="igg_EditCell
   PROVIDER_INNER_CLASS"
    style="WIDTH: 374px; HEIGHT: 27px"
    name="WebHierarchicalDataGrid1$ctl00$ctl00"
    rows="33" cols="9">
</TEXTAREA>