User Profile & Activity

Hendrik Yulianto Member
Page
of 9
Hi,

I think you only need to add ChildTables method into your code. So, it will be
grid.RootTable.ChildTables[0].Columns[0].GetElement().childNodes[0].childNodes[0].disabled= true

Hope this helps.
Posted: October 13, 2011 3:27 AM
Hi,

To select the row and bring it into the view as you mean, you can use scrolltop property. Set the value with the last position of selected row . I enclosed one simple sample that shows how to manually configure the vertical scroll position.

Please have the attached sample tested on your end and let us know whether it helps or not.

Posted: October 12, 2011 4:13 AM

Hi,

I found solution for the issue. The issue occurs because when closed dialogbox, the process has not finished yet and it is interrupted by FullPostBack request. So, to resolve the issue, I used timeout after called close dialog box function. I also remove some code which I think is not important. see below the code after modify :


function ShowInfoBox(msg, funcOK) {
var wInfoBox = ISGetObject("wdlgWaitInfo");
var span = document.getElementById("span_Message");
span.innerText = msg;


wInfoBox.ShowDialog();

}

function wdlgWaitInfo_OnButtonClicked(controlId, dialogButton) {
var dlgBox = ISGetObject("wdlgWaitInfo");
dlgBox.CloseDialog();
if (dialogButton.Type == "OK") {
window.setTimeout(function(){ConfirmDelete()},100);
}
}

function Delete() {
ShowInfoBox("Confirm Delete?");
}

function ConfirmDelete() {
document.getElementById("<%= btnDelete.ClientID %>").click();
}

Hi,

I tried to integrate WebInput programmatically. However, the issue still persists. So, I think there is no workaround for now. I will report this bug to our developer teams and will let you know when the fix is ready.


regards,

Hendrik
Posted: October 11, 2011 3:00 AM

Hi,

It returns correctly in server because the disable state does not have any effect in server. It only affects in client. That's why GetCheckedRows() in javascript always returns 0. As I said before, you need to DO this manually.

First, get the parent row collection. This can be accessed by using WebGrid1.TotalRows(). Next, check each rows whether they are checked or not. To check its checked or not during disable state, you would need to access the checkbox element. e.g (wgCellByName(rowposition,”name of checkbox”).children[0].checked method) With this way, you can know how many rows that checked.

Hope this helps.

Posted: October 10, 2011 11:38 PM

 

Posted: October 10, 2011 11:36 PM
Posted: October 10, 2011 11:35 PM
Hi,

I can replicate your issue. But I don't quite understand what exactly you wanted to. e.g why does it call function with parameter null? wdlg_ButtonOK_Clicked(dlgBox.EpointParams)? Also, in your ajax panel code, I think there error is not coming from Intersoft control, but most likely from Update panel itself, see below links.

http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/f5469d1a-b960-4880-9d53-d18ab1764813/

http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequestmanagerparsererrorexception-what-it-is-and-how-to-avoid-it.aspx


Perhaps, you explain more details about your scenario.

Maybe we can find another way or workaround for that.

thanks.


Hi,

I am also using IE 9 and works well in here. Have you any special step by step? Perhaps, there are steps I missed. Or, you can send your recording video?
By The Way, make sure that you already used lastest hotfix for webgrid.

Regards,

Hendrik

Posted: October 10, 2011 3:13 AM
Hi,

In order to check your issue, I would need your runable sample. Your attached sample seems not working in here. It is missing WebProcess.ascx. So, could you reattach your working sample? Thanks.

All times are GMT -5. The time now is 10:46 AM.
Previous Next