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
Hi,
I'm using the latest R2 SP 1.
1. Run the WebGrid Sample attached in this message.2. You will see the rows in Red with Data in white color.3. Refresh the grid by clicking the grid's refresh button.4. After refresh the row settings dissapear, all the color settings disappear when you do refresh.
Promt reply will be appreciated.
Br,
Shah
Hi Shah,
Here is the fix for you. FYI, this nightly build has not been tested for regression and we are really appreciate if you might give us feedbacks when you encounter any issues/problems regarding this build. (disclaimer: on)
Also, please put below code outside If(!ISPostBack) condition. This should fix the issue.
e.Row.Style.BackColor = System.Drawing.Color.Red; e.Row.Style.ForeColor = System.Drawing.Color.White;
Regards,Handy
Does it also happen in previous product?As far I see, the problem is in your level code.At first, the row element is on the top layer of the cell style which you can see Red Color.But when you do FlyPostBack, you set each of cell style which make cell style became the top layer, not row style anymore.
That's why even at below you set again the row style, but the top layer currently overriden by cell style and you cannot see the Red color because the cell style color still default.
To avoid this issue, you will need to set cell style back color and fore color in your code.
cell.Style.BackColor = System.Drawing.Color.Red; cell.Style.ForeColor = System.Drawing.Color.White;
Hope this helps.
The code for setting the row style works in all the older version right from WebGrid 6. It stopped working in the new R2 SP1 version only.
Shahjahan
Hello Shah,
Ok, I will report this to our developer teams. For temporary workaround, please set each of cell style as I said before.
When will I get this solved?
Please update me with the progress on this issues.
Shahjahan Ansari
I have sent an email to our developer teams and will ask them about the estimate time directly.I will notify you when I got news.
Hi Handy,
According to Jimmy this bug is solved and he confirmed that the support team will be sending me the fix soon.
Unfortunately, after I checked the nightly build, the issue still persists. I will try to talk to our developer for fixing this issue soon.
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