User Profile & Activity

Xedem Member
Page
of 12
Posted: August 31, 2009 10:56 AM

okee... but all other threads posted by me also getting delayed...and those got no reply till now...

To your questions -> Well the webgrid is a dynamically build one. To explain more, the webgrid layout (only the layout) is specified in a usercontrol design page. The webgrid is using default styles with some overriding. The overriding is done by specifyimg the default classes for rows and all. For eg to apply padding of two am specifying the class WG5E-Row.This is done only in the design page. So no style problems are occurring when a postback is made. All style problems are occuring when grid.refresh() is made. All the data are dynamically bind to the grid. So no columns are known in advance. Is that because the webgrids are dynamically made, grid.refresh is making it to loose the style? Am using RefreshAll. The grid is only refreshed.

Could you be more specific. In which event event we suppose to add these properties? Even with these options my webgrid rows are shrinking except the header. rows are dynamically using webflypostback.

Posted: August 27, 2009 2:49 AM

Am waiting for a reply.Its 3 days passed. I will be more specific. After updating webgrid through webflypostbackmanager, the style shrinks or say becomes awkward. And there appears to be a padding space left with as large as 10px in firefox. Please reply as soon as possible.

Posted: August 25, 2009 7:28 AM

ok. if the sp1 release will delay more than 3 days, could you please attach the hotfix herewith. I would like to get the problem be resolved as soon as possible.

Posted: August 25, 2009 7:24 AM

Ok. the problems are rectified. However there comes a dynamic row shrinking problem. I have posted it as another thread. Hope you will look into it.

Posted: August 24, 2009 7:50 AM

Ok. I run the sample. It worked perfect. I modified my container table and put the attribute               table-layout:fixed. Now the webgrids in my solution works fine too. The attribute saved my time. Now there is a problem. If my webgrid has got only one column, there appears a padding space. I want it to be rectified.

Posted: August 21, 2009 6:41 AM

@Gordon:- But my real question is not that. The question is about the heavyload of 5 asynchronous postbacks. Infact the method Rebinddatasource casues the initialisedatasource event to work. So why it cant update the UI. And the rebinddatasource method is not causing no asynchronous postback(if i am right). So is there a way by which i could tell that these are the webgrids need to be refreshed and cause only one asynchronous postback? I mean those webgrids are refreshed at once....

Posted: August 21, 2009 6:01 AM

@Gordon:- Concider the fact that i have 5 webgrids in my webpage and the user is updating each 5 webgrids. And am doing the save in a single click. But to reflect changes of these webgrids, i have to call the refresh method of these 5 webgrids. Means 5 asynchronous postbacks. That means heavy load. Is there any alternative?

Posted: August 21, 2009 5:50 AM

Yea i checked. With grid.HidePadColumn option, i can get it done. I can see your screenshot. And it is right that you are the one who send me the screenshot. But i didnt receive the sample along the mail. Instead you told me to post it here. Thats why am here . Now did you post your reply based on my last post? I said clearly that it works fine with most of the webgrids but not with everyone. Thats my worry. Please go through the screenshot named ExtraSpace1px and ExtraSpace1pxAbsent. If you would like a snippet of my container, it is as follows.

<table class="smallBoxes_PlainGrid" border="1" cellpadding="0" cellspacing="0" style="clear: left;">
<tr>
<td align="left">

Here the webgrid layout will come. The css for the class is as follows.

table.smallBoxes_PlainGrid
{
border: 1px solid #AFC2E3;
width: 49.4%;
border-collapse: collapse;
background-color: #FFF;
color: #1C1C1C;
float:left;
font-family: Helvetica;
font-size: 0.7em;
margin: 2px;
padding: 2px;
}


 To know the webgrid Layout, check the posts above.

 

Posted: August 21, 2009 4:32 AM

Thanks for the reply. Anyway i have rewritten my Initialiseculture and it works pretty fine. However Webgrid when done with its native postback( i mean not external postbackmanager), works fine with global culture. Thats why i asked...

All times are GMT -5. The time now is 2:40 PM.
Previous Next