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>
Thank you, im currently struggling with another issue right now, but as soon as this is resolved I will return to you.
Kind Regards
Hello soberly,
Let me know if you have further questions.
You should use the "!important" declaration at the end in order to make your style take precedence over the default one.
For example:
<style type="text/css">
.textEditor
{
background-color: Aqua !important;
}
</style>
<ig:TextEditorProvider ID="WebHierarchicalDataGrid1_TextEditorProvider1">
<EditorControl TextMode="MultiLine" CssClass="textEditor">
</EditorControl>
</ig:TextEditorProvider>
Let me know if you need further assistance regarding this.