S
Sebastian
Hi,
I want to skin the templates of an aspataList. So I have to do data
binding in the skin (I didn't find another comfortable way to do
that). As soon there's a <%# ... %> tag in the skin, VS seems not to
recognize the skin file anymore. The property editor displays SkinID
grayed out, and I cannot select anything.
Interestingly, I can enter the SkinID by hand, and page rendering
actually works!
Of course, separation of code and layout is lost when doing
databinding in the skin. I'd like to avoid that, but how can I skin
the DataList's templates and do databinding directly on the control?
As soon as my DataList skin contains an ItemTemplate, any databinding
is lost.
Btw.: Is it normal that VS does not apply the skin in the designer? I
have to open the page in a browser to see the results. Forther more,
inellisense does not work in skin files.
Kind regards, Sebastian
I want to skin the templates of an aspataList. So I have to do data
binding in the skin (I didn't find another comfortable way to do
that). As soon there's a <%# ... %> tag in the skin, VS seems not to
recognize the skin file anymore. The property editor displays SkinID
grayed out, and I cannot select anything.
Interestingly, I can enter the SkinID by hand, and page rendering
actually works!
Of course, separation of code and layout is lost when doing
databinding in the skin. I'd like to avoid that, but how can I skin
the DataList's templates and do databinding directly on the control?
As soon as my DataList skin contains an ItemTemplate, any databinding
is lost.
Btw.: Is it normal that VS does not apply the skin in the designer? I
have to open the page in a browser to see the results. Forther more,
inellisense does not work in skin files.
Kind regards, Sebastian