Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Example on ASP.Net with VFP7
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00672351
Message ID:
00672487
Views:
8
The font size is changed when you click on the Edit link on the far right-hand side. The row you are editing turns yellow and the Company and Contact information is presented in TextBoxes. If you alter the font information in the EditItemTemplate then that is reflected when you are editing the row (when it turns yellow). If I run the revised code you wrote here, the Company information is larger in size then the Contact information.

>Hi Cathi,
>
>Thanks for the reply. I still cannot understand how it can change the individual textbox font size. Below is the copied html text I'm interested with :
>
>
><EditItemTemplate>
><ASP:TextBox id="txtCompany" Text='< % ERROR: # DataBinder.Eval(Container,"DataItem.Company")  % >' runat="server" Font-Size="Large" Font-Names="Verdana" />
></EditItemTemplate>
>
><EditItemTemplate>
><asp:TextBox id="txtContact" runat="server" Text='< % ERROR: # DataBinder.Eval(Container, "DataItem.Contact")  % >' Font-Names="Verdana">
></asp:TextBox>
></EditItemTemplate>
>
>
>I have taken out the Font-Size="Large" for the 2nd control using the html page to delete.
>
>Regards.
>
>>In the designer mode, if you click on the datagrid then go to the Properties window. Click on "Property Builder" link which is shown at the bottom of the Property window. Then click on Format on the left-hand side of the DataGrid dialog window. Click on the plus sign next to "Items", then select "Edit Mode Items". From there on the right-hand side you will see properties you can set for the Edit Mode of the DataGrid, including font information.
>>
>>>Hi all,
>>>
>>>I'm looking at the examples from the MSDN on "Accessing a VFP Data Using OLEDB". How do I control the fonts in the textboxes when I click the "Edit" link. I can change this in the HTML page but will like to know how to do this in screen designer.
>>>
>>>Thanks.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform