User Profile & Activity

Madhavan G Member
Page
of 12

Hi Yudi,

 

Thanks for the response.

1. First time it is working fine, but the next time it is populating the alert message saying that "Please wait while WebGrid is in progress processing request..."

2. After loading (retaining) all the record, I need to retain the selection of the item, so it should not be deselected.

3. How to pass value between WebGrid1_InitializeDataSource to WebGrid1_InitializeLayout event and vice versa.

My approach to retain the no. of loaded items and item selection is:

* Hold WebGrid1.VirtualLoadArgs.RequestedRows from WebGrid1_InitializeDataSource event when "Load More" action is performed

* Set the value to e.Layout.VirtualPageSize in WebGrid1_InitializeLayout event

So that the next time "Refresh" is called, that value will be set to VirtualPageSize hence it will load the same no. of records at once, instead of calling it multiple times.

Posted: September 12, 2011 12:44 AM

Hello Handy,

I know data is not getting saved.

Without the data only the primary table column headers only will get displayed.

Since there is no any record for the primary table the child tables column headers will not be able to see.Since there won't be a plus sign.

Our requirement is to allow the Column headers in parent table and child tables and save the structure but the grid will render it with data.This structure is saved in db.Then this structure is getting used in places where grid will render with data.

 

Is there anyway we can achieve this?

Tell me also whether We can populate some dummy data and render the rows of parent and child tables.

Please advice.

 

Regards,

Madhavan

 

 

 

Posted: May 9, 2011 12:02 AM

Hi Lili Khiung,

I have seen that outlook2003 style sample.

In Our case also the Refresh is not happening sometimes only when we navigate fast or try to click before the grid loads etc.

In these permutations and combinations the refreshall is showing the previous clicked row result.

 

Please advice.

Regards,

Madhavan

 

Posted: December 9, 2010 1:37 AM

Hi Handy,

Sorry for the late response.

Have you discussed this issue with your dev team.

Because we cannot change the Doctype in master pages of sharepoint.

As ours is a product which is used by many customers.Customers will not be ready to change the doctype only because of webgrid is not loading correctly.

Please advice.

 

Regards,

Madhavan 

Posted: September 17, 2010 8:31 AM

Hello handy,

It is not possible for us to change the XMlns tag in the sharepoint 2010 web part.Most of the Pages are dynamically rendering in Sp2010 and also our clients will not accept.

If it is a normal aspx page then we can change.

 

Please advice.

 

regards,

Madhavan

Posted: September 16, 2010 5:42 AM

Hello Handy,

Still the issue is there with the attached patch dll also.

Please find enclosed the sample file which is replicating the issue,

 

The Doctype used within the sharepoint context websites is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns:o="urn:schemas-microsoft-com:office:office" lang="en-us" dir="ltr">

 

And also one more problem is webgrid height is not taking in percentage even though if we set the container width and height also.

Please advice on these.

 

Regards,

Madhavan

 

 

Posted: September 15, 2010 5:01 PM

Any updates on this please,.

Posted: September 1, 2010 6:53 AM

Hello Handy,

The GetCheckedRows Method is returning an ArrayList and the values are the Keyvalues (In the Replicated sample it is OrderId column value).For the Checkedrow i need CustomerId column value also.Can you please modify my replicated sample on how to do it. 

In Our Original Scenario it is Workitemid column value  for us. But we also need some other column values for the checked rows in our scenario we need workflow column value.That's why we need the Row object see the code below

Guid WorkitemId = new Guid(WebGrid1.RootTable.GetCheckedRows()[i].ToString());
string workflow = WebGrid1.RootTable.Rows[j].Cells.GetNamedItem("Workflow").Text;

Skelta.HWS.WorkItem workitem = new Skelta.HWS.WorkItem(new Skelta.Core.WorkflowObject(workflow, new Skelta.Core.ApplicationObject(_ApplicationName)), WorkitemId);

One more thing. We want to do this logic in Webgrids Initializepostback method.That's why we are doing the sendcustomrequest.

our scenario is after selecting the checkbox the multi select operation should happen without postback.

 

 

Please advice.

Regards,

Madhavan

Posted: August 31, 2010 4:55 AM

Hi Handy,

Please tell us how to achieve our scenario.

Our scenario is we will be selecting the checkboxes on first page or after clicking on load more.

Then we will click on the Html button which is currently sending a custom request and in the initailize postback method we are doing the operation of adding our objects of the selected row into a cache and then opening the required window to act on it by using Webgrid1.ClientAction.InvokeScript from the Initialize postback method.

Please advice.It is urgent.

Thanks,

Madhavan

  

 

Posted: August 31, 2010 12:36 AM

Hi Handy,

Please find the attached sample.
GetCheckedRows is returning correct count after the click of loadmore.

But the Webgrid.RootTable.Rows of the checked rows after click of loadmore is returning as null.

Webgrid.RootTable.rows.count is returning only the first page loaded rows and not the loaded rows count of second page.

 

Please see the attched replicated sample.

Regards,

Madhavan

All times are GMT -5. The time now is 3:14 AM.
Previous Next