CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: Date Entered: 2/1/2008 4:49:00 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 255 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"ccquadman" <>
NewsGroup User
CssFriendly FormView Example2/1/2008 4:49:00 AM

0

On the CssFriendly FormView Example ( http://www.asp.net/cssadapters/whitepaper.aspx#Samples ), where do the .Sample-Name and .Sample-Address come from? I'm reviewing the example and trying to do the same with .MyExample-Name and .MyExample-Address, but I'm unsure where to define them. I guess in the FormViewExample.css I'm not understanding what the #SampleFormView .Sample-Name is doing. I don't see where the #SampleFormView is coming from or doing? 

In my ItemTemplate part of the FormView I have:

<ItemTemplate>

<div class="MyExample-Info">

<div class="MyExample-Name">

<asp:Label ID="MyExampleNameLabel" runat="server"

Text='<%# Bind("MyExampleName") %>' />

</div>

<div class="MyExample-Address">

<asp:Label ID="MyExampleAddressLabel" runat="server"

Text='<%# Bind("MyExampleAddress") %>' />

</div>

 If I modify the styles in the .MyExampleFormView .AspNet-FormView-Data the styles change. However, I can't seem to get styles applied to the individual bound fields like in the white page where .Sample-Name of Abraham Bennet is Maroon.

Hope this makes sense and thanks much.

"ccquadman" <>
NewsGroup User
Re: CssFriendly FormView Example2/2/2008 12:04:49 AM

0

I think I finally figured it out by using a link with the Srcviewer. The #SampleFormView is a CSS Parent element ID defind at the top of the content page specific to the FormView.aspx page. The .Sample-Name, for example, is a CSS Descendent selector.

http://www.asp.net/CSSAdapters/SrcViewer.aspx?inspect=~/FormView.aspx&notree=true

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













checkbox control

don't really know how to describe it.

back button fires page_load: sometime yes, sometime no...

uploading

antibot control

select all text in asp.net text box

passing variables between classes

forms authentication - confused??

dynamic dropdownlist and event.

creating a med-large cms using asp.net

how to disable some radio buttons in a radiobuttonlist?

hyperlink in a buttom command

rich text textbox

full text search inside a word document.

how to add "please select one..." to dropdownlist control when it is binding with database?

interesting design question on delivering static pages.

file upload ~ asp.net vb framework version2

having spaces in options of a select box

binding dataset rows to items in a dataset

how to make a ddl show more than one field during selection

how to reset r clean the user entered values from various controls

cannot read data from client

passing dat form popup form

vcalender how to set valarm in calender please try helping

calling a sub

databinding to user control

hightlight sorted column

searching the dataset

about web form validation?

re-showing input values as a confirmation page before inserting into db

flash and asp.net

autopostback problem please help

iframe class call problem

if then for greater than type equation

textarea empty on postback

codes for changing the label value automatically when the button is clicked each time using asp.net

displaying the java script alert box after saving the data to database

imagebutton from a stream or local directory

can you make table rows zero height if no controls are placed in them?

page.ispostback giving incorrect value vb.net

getting status of webresponse

dropdownlistbox + more than one column..........

how to hide days from calendar object

problem with login page ?

web form doesn't fit in smaller screens

create imagebutton at run time

usercontrol not getting displayed when redirecting using server.transfer

encryption and decryption using c#.net

[imagebutton] strange behavior

opening pdf docs in a new window

   
  Privacy | Contact Us
All Times Are GMT