User Profile & Activity

Xedem Member
Page
of 12
Posted: September 7, 2009 3:14 AM

hi

Am using WebUI 2008 R2. And i didnt see any Service pack release. All i could see was 2009 WebUI SP1.

So how am gonna resolve my problem? Am using Webgrid 6.0


Hi James

As i said it is difficult to reproduce. However now am working on it to reproduce it. And will attach the sample as soon as am done. However i dont think the invisible option does make any side effect. Coz after i put the display off for the textbox, I checked different scenarios and it seems to be working quite well for my scenarios. And as we are not turning the visiblity off at server side, the text object is always accessible. And as you see, for a normal user to see the rectangle starting from the webgrid and flowing over the body is unacceptable and i think at least for the style purpose(the rectangle is already there in the sample) the textbox visiblity should be turned off at client side.


Posted: September 7, 2009 2:27 AM
Bingo!!! that worked. The post was helpful. I would point out the change here...

protected void grdObj_DeleteRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
{
((DataRowView)e.Row.DataRow).Row.Delete();

return false;
}

Now both the rows added at client side and server side can be deleted. Thank you James




Hi James->

Am afraid i cant reproduce. This is because, even i cant predict the situation. I have got a webpage, where webgrid controls are added dynamically. Width, positon(Right or Left) all are specified at runtime. So of the toal 2/10 chance is there.

However to reproduce the issue yoy need firebug. Run the sample i attached and inside firebug move to the div with id -> dvCH_WG1 and expand it. There you could see a textbox with id WG1_Moz. select it and on the right pane turnoff the attribute, position:absolute then you could see the textbox. See my first screenshot where am clicking inside the webgrid and a dotted line appears, which extends beyond the body of the page(In fact a dotted rectangle, due to the textbox i said). Hope this helps.

Posted: September 7, 2009 2:01 AM

I thought i replied to you.Maybe i just typed and forgotten to paste here. And i am unable to provide any details right now as i removed the entire code which was using  webflypostbackmanager and replaced it with updatepanel and corresponding code. And its working fine and fast. However could you give me an example based on my original post.All are explained well there in the original post. That would be really helpful.


Posted: September 7, 2009 1:40 AM

Oh!. I didnt check that. I will use SP1 as soon as possible and will reply.

Posted: September 6, 2009 11:44 PM

I have done a fix currently by making methods in prepare databinding event to run only at not postback case. Now its working. Let me play around a bit and i will inform you as soon as i can give u a sample that replicating the issue.

Posted: September 4, 2009 3:42 AM

Oh!. Am having the webcombo inside a popup control and the number of elements inside the webcombo cannot be predicted. It could be either 10 or 100 with multicolumn. So in IE with popup enabled, the window moves outside and no problem. The resultbox height is fixed. However the popup window(aspx page) height is calculated dynamically based on the contents inside(which obviously doesnt include resultboxheight of webcombo). So the combo would be visible only to a small part. See the screenshots. Making Resultboxheight to one row may solve the problem for firefox. But to make user to select only a row at a time from webcombo!!!.

I guess you got what am saying right now...

Posted: September 4, 2009 2:40 AM

Thanks James for the reply. But could you clarify more. Are you saying that it cannot be implemented? Or it needs a fix from webgrid team?

Posted: September 1, 2009 6:02 AM

sorry for that confusion. Am using grid.Refresh() for all the webgrids. 

All times are GMT -5. The time now is 12:43 PM.
Previous Next