iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
warm regards to all
i would to know, how can i include one static image on the column of the webgrid.
i tried by adding a new column and select type as image and add path of the image on the "image format string" attribute. But it not seems to be working. Am i missing anything???
thanks
ca
WebGrid 7 provides nine column types, such as: "Button"; “ButtonImage”; “CheckBox”; “Custom”; “Hyperlink”; “Image”"ImageAndText"; "Template"; and "Text".
Below is the description for each column types.
Member
Description
Button
Cells that belong to a column with this setting will appear as HTML button.
ButtonImage
Cells that belong to a column with this setting will appear as HTML button rendered with Image.
CheckBox
Cells that belong to a column with this setting will appear as HTML check box.
Custom
Cells that belong to a column with this setting can be fully customized from within runtime code.
Hyperlink
Cells that belong to a column with this setting will appear as hyperlink.
Image
Cells that belong to a column with this setting will display only an image that specified in “CellImage” or its own “Image” property.
ImageAndText
Cells that belong to a column with this setting will display an image that specified in “CellImage” or its own “Image” property and text.
Template
Cells that belong to a column with this setting will appear as template.
Text
Cells that belong to a column with this setting will display only text.
The most suitable column type for your scenario is "Image" column type. Simply set the ColumnType property to "Image" and set the CellImage property to point to your static image file. Example:
<ISWebGrid:WebGridColumn Bound="False" ColumnType="Image" CellImage="./images/Order-Details.gif" EditType="NoEdit" Name="Icon" Width="20px"> </ISWebGrid:WebGridColumn>
Please check the sample of image column type in our live sample at here. Expand the child of the hierarchical grid sample until "OrderDetails" table. The column on the left side of "OrderID" column is using image column type.
Hope this helps.
thanks .... i got solution.
Could you please kindly share the solution with us?Your information will be helpful for us and the community member.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname