Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Ken Varn #1
Need help with Style conversion from Style object to Style key/value collection.
I am writing a custom control that derives from the DataGrid control. I
would like to apply SelectedItemStyles and ItemStyles for use in my derived
code to sub-controls that my extension creates.
The problem I am having is that I need to extract all of the Styles from the
SelectedItemStyles and apply them to the WebControl.Style collection, but
the two seem incompatible. The WebControl.Style object is a collection of
key/value pairs, whereas the SelectedItemStyles is of type TableItemStyle
(derived from Style type). There seems to be no way to convert a Style
object to a collection of key/value pairs for placing into a
WebControl.Style property. Is there some piece of the puzzle that I am
missing here? Please help.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
Ken Varn Guest
-
Object Style Options
When pasting a selection of different graphics frames with different formating from one document to another. Sometimes the frames change there... -
Need help with base.Style collection in custom control
Hi, Here's my situation: I'm developing a custom control, which basically consists of two nested <DIV> tags. Now, i need to obtain base.Style... -
Character style has a little + after style
Sometimes when I try to change some copy to a particular character style, the font won't fully change. Instead I get a small + after the style. How... -
XML::Parser Style => Object
Does anyone have some sample code I could examine to learn how to use the XML::Parser package when Style is set to Objects? E.g., my $p = new... -
Number format German style => English style when importing CSV files into MySQL-DB
Hi there, I'm trying to import a csv file into my MySQL database. Unfortunately the number format for the price column is formatted in German...



Reply With Quote

