User Profile & Activity

A Yousif Member
Page
of 29
Posted: May 13, 2010 12:32 PM

Thanks Andi.  I'll give it a try and see how this works.  Just FYI, I wound up working around this via JavaScript after the grid initializes like this in OnAfterInitialize:

var oNoDataContainer = document.getElementById(gridId + "_ND");
if (jsg_PrismUtility.IsVo(oNoDataContainer))
{
   oNoDataContainer.style.borderRight = "0px solid #000000";
   oNoDataContainer.style.borderLeft = "0px solid #000000";
   oNoDataContainer.style.borderTop = "0px solid #000000";
   oNoDataContainer.style.borderBottom = "0px solid #000000";
}

Why don't you try to duplicate the problem?  I've already given you the exact issue and I'm sure you are very capable of creating a quick sample to verify this issue.

Well, changing it to XHTML mucked up the entire UI.  I believe the WebPaneManager doesn't support this anyway which is what mucks everything up.  Right now we just can't use XHTML.

I've just finished recording the flash video of the WebCombo post back.  I'll email the video in a little while with reference to this thread.  Thanks.

Thanks Julia.  Our current settings for PagingMode is VirtualLoad and LargeData & ExportCurrentPageView for VirtualLoadMode and PagingExportMode respectively.  I also tried ExportAllData but that didn't work, but it's because we're not using VirtualLoad.

I also tried setting the VirtualLoadMode to Default per the paragraph from the documentation which seems to not be correct:

Using LargeData option in the VirtualLoadMode property restricts the users to export ALL the data. Only a certain batch of data which has been retrieved by users, will be exported to the medium. Therefore, in order to export ALL data, the VirtualLoadMode property needs to be configured to Default option temporarily and invokes the RebindDataSource() method.

This is how I make the change inside the OnExport handler that I've overridden:

ISNet.WebUI.WebGrid.VirtualLoadMode enumTempMode = this.LayoutSettings.VirtualLoadMode;
this.LayoutSettings.VirtualLoadMode = ISNet.WebUI.WebGrid.VirtualLoadMode.Default;

bool bRet = base.OnExport(table,dataSource,reportInfo,ref outputFile);

// now set back
this.LayoutSettings.VirtualLoadMode = enumTempMode;

None of the changes worked.  The only way I'm able to export all records is to set the VirtualPageSize to the all rows in our DataSource and then set it back after the export.

Thanks Handy.  That's what I figured, but wanted to be sure I didn't miss anything.

Ah, good catch.  Sorry I missed that.  I should be able to test this tomorrow.  Thanks again.

The issue only occurs in our application which is using the "HTML" doc type and not "XHTML" even though it works fine in the sample I attached when using either one.

Hi Glenn.  Yes, that's what we changed at the same time we removed the xmlns.  Below is what I copied and pasted from our page.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html>

 

Hi Glenn,

Do you know if this will break the WebPaneManager?  I believe we had to remove all the xmlns entries from our HTML tag due to incompatibility with these controls inside the WebPaneManager.

I will try it though and let you know.  Thank you.

Hi Handy,

Yes, I understand all that and I'm not asking you to "know" what our check box does.  I just want to take advantage of an existing property that I can set.  So how can I set the Checked property on the client side?  Thanks.

Hi Glenn,

I haven't had a chance to record the process as I'm working on a deadline for this week so it'll be next week before I get to that.

However, I did try a custom control in the sample that derives from WebCombo and also used our implemenation of the properties, styles and skin and it all worked fine in the sample.  So I'm not sure why it's not behaving the same way in our application's architecture.

I included the sample I've modified to resemble our application.

All times are GMT -5. The time now is 1:45 PM.
Previous Next