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
I want to use different images for the sort indicators. So I set the grid's Image Settings SortAscImage and SortDescImage properties to other gif files in InterSoft's CommonLibrary\Images folder.
But when I then sort the grid by clicking on a column header the new sort indicator images are not being displayed right justified in the column's header field. It appears that the images are being displayed left justified under the column header text. I can see just the very top of an image there.
What do I need to do to make the new sort indicator images appear right justified in the column's header field? I am using WebGrid 6.07200.211.
Darlene
You can still use auto for EnableWebResources. Just put an image folder in your project and ensure that you are using the correct image path. I attached my simple project for you to show you how to do it. I also have changed the images.
Regards,Handy
Hello,
It should be not happened. Could you please show me the issue in screenshots? Btw, to set the allignment, we have FilterRowStyle properties. Under HorizontalAlign you can set it as right.
Here is a screen shot of the problem. Look at the Title field in the grid header row.
(By the way, my problem is not related to the Filter Row. It's the header row.)
Here is the related ImageSettings line from my .aspx page:
<ImageSettings SortAscImage="SortAsc.gif" SortDescImage="cursor_remove.gif" />
(I chose these images just for testing purposes.) The screen shot is for descending sort with the Title column.
Forgive me because I am mistaken read and answer the issue. For your sample, do you place WebGrid inside a container or something? Maybe you can share us the WebGrid structure.
Here is the page structure related to the grid placement:
<asp:Content ...
<asp:Content >
<ISWebDesktop:WebPaneManager>
<RootGroupPane>
<Pane>
<ISWebDesktop:WebPane>
<ContentTemplate>
<ISWebGrid: WebGrid>
...............
Handy,
Here's the doctype from my master page:
<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.0 Transitional//EN" >
Regarding the missing structure in my earlier post, I edited it to include the rest of the structure. Please see above. (I accidently had hit the tab key.)
Is there any update on this issue yet?
But as you can see at previous post, the structure is not completed. Please resend it as attachment.
Here is the page structure from my July 7, 2010 1:24 PM post:
<asp:Content>
<ISWebGrid:WebGrid>
A file is also attached.
Hello Darlene,
It seems you missunderstood what I requested. I also need your WebGrid settings. Anyway, I think I know what caused your issue and which settings you missed.If you inspect the element of your sort images, it will still look into your smartWebResources. To change the images, you should not use SmartWebResources for your image settings. You need to use CommonLibrary or some image folder path.Please try to set EnableWebResources="ScriptOnly". With this way, WebGrid will not search images in resources.
Hi Handy,
I tried setting EnableWebResources="ScriptOnly", but I can an error when I then tried to load that page (SmartWebResources feature is currently disabled). You can see the full text of the message in the attached file. I have also included the Grid settings in that attached file.
Also I decided to try the following sort image settings:
SortAscImage="SortAsc.gif" SortDescImage="SortDesc.gif"
When I did that the ascending sort image appeared correctly, but the sort image did not appear to change when I did a descending sort. When I looked at the image in the SortDesc.gif file I see that it is exactly the same image as in the SortAsc.gif file. I have attached these 2 gif files.
Can you please e-mail me a new SortDesc.gif file with the correct image in it.
(I still have the original problem though if I try to use other gif files.)
Thanks,
I actually need new versions of both SortAsc.gif and SortDesc.gif.
In SortAsc.gif the arrow should be pointing up, not down.
And in SortDesc.gif the image should be Z on top of A with the arrow pointing down. Could you please e-mail me new gif files for both of these?
I would like to amend my request for 2 new image files. I don't need a new SortAsc.gif. The one we have from your CommonLibrary is fine. I was "confusing myself" about that one.
Sorry if I confused you too.
I would just like a new SortDesc.gif with Z on top of A.
Also to let you know, I was assuming that if I did not use a path to a gif file from your CommonLibrary, the file would be found automatically. But when I copied the gif file into our project image folder and used the proper path, the images do get displayed as expected. So if I can get a corrected SortDesc.gif, all will be good.
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