User Profile & Activity

Martin Lie Support
martin@intersoftsolutions.com
Page
of 43

Hello,

Here is the list of client-side events available in WebFlyPostBackManager including its parameter.

function WebFlyPostBackManager1_OnError(controlId, methodName, errorDetailString, errorDetailObject)
{
   var WebFlyPostBackManager1 = ISGetObject(controlId); 
			
   return true;
}
 
function WebFlyPostBackManager1_OnResponse(controlId, methodName)
{
   var WebFlyPostBackManager1 = ISGetObject(controlId); 
			
   return true;
}

function WebFlyPostBackManager1_OnResponseSuccess(controlId, methodName, returnValue)
{
   var WebFlyPostBackManager1 = ISGetObject(controlId); 
			
   return true;
}

function WebFlyPostBackManager1_OnTimeout(controlId, methodName)
{
   var WebFlyPostBackManager1 = ISGetObject(controlId); 
			
   return true;
}

What ServiceType are you using in the sample? Have you checked your FlyPostBackSettings in your project? The options available in FlyPostBackSettings are PostControlState, PostHiddenFields, PostInputControls and PostViewState. You can enable/disable these options according to your needs.

Hope this helps. Thank you.

 

Regards,
-Martin-

Hello,

Glad to hear the good news. It means that your project is working fine now without "unlicense" message pops up.

Should you have further question regarding our product, please feel free to post it in this community forum.

Thank you.

 

Regards,
-Martin-

Hello,

Currently we do not provide build 430 because it is a nightly build and still under tested.

Maybe you can try to reinstall Intersoft suite and use the latest 2011 R1 installer which already has build 429.

You can download the latest 2011 R1 in here.

Hope this helps. Thank you.

 

Regards,
-Martin-

 

Posted: June 1, 2011 5:00 AM

Hello,

You can use OnRowValidate client-side event to trigger the validation before you perform adding new row.

You can try to use the following logic. This code is used to validate an empty cell. You can change the logic in order to validate the data type instead.

function WebGrid1_OnRowValidate(rowObject)
{
   // retrieves WebGrid's object
   var grid = ISGetObject("WebGrid1");

   // access WebGrid's RootTable
   var rootTable = grid.RootTable;

   var row = rootTable.ToRowObject(rowObject); // convert the rowObject (HTMLElement) to WebGridRow object
   var cells = row.GetCells(); // get collection of WebGridCell

   // check for empty cell
   for (var i = 0; i < cells.length; i++)
   {
      var cell = cells[i];
      if (cell.Text == "")
      {
         var info = "Cell [" + cell.Name + "] value is empty";
         alert(info);
      }
   }

   return false;
}

Hope this helps. Thank you.

 

Regards,
-Martin- 

Hello,

I've tried to run HierarchicalGrid.aspx sample file and it works fine on my end, even with the designer itself.

Wat kind of exception did you get when you open WebGrid designer in design view? Could you provide a screenshot for the error?

Have you tried to get the latest version of WebGrid using Update Manager. Mine is build 7.0.7200.430.

Thank you.

 

Regards,
-Martin-

Hello,

It's weird because the issue only happens on your project.

When I create the project, I was using the Intersoft Empty Web Application template from Intersoft. It will automatically add all the references needed to run Intersoft control.

Maybe you can try to delete and re-add the assemblies back to your project. The error could be raised from your assembly references.

If you create a new project, does the issue still occur?

Thank you.

 

Regards,
-Martin-

Hello Patrick,

Unfortunately, the issue doesn't get replicated on my end. I know that I might have missed something during my attempt to reproduce the issue.

I have attached my project. You have to re-add references and Northwind database in order to run the sample.

However, I simply use WebGrid bind to ISDataSource using Northwind database as the dataset. And, in the project I have those 2 references assemblies, ISNet.Data.Linq and ISNet.WebUI.ISDataSource.

Can you try to bind WebGrid to Northwind dataset using ISDataSource control and see whether the error occurs on your end? I'm not sure what causes the issue yet, but in my case the error doesn't happen.

Hope this helps. Thank you.

 

Regards,
-Martin-

Posted: May 26, 2011 10:58 PM

Hello,

That's weird. I didn't get any error when running WebGrid under XHTML DocType.

Could you please try our live sample in here? This sample performs Batch Update that is using XHTML DocType.

Also, could you provide the sample that you used to replicate this issue? I would run a test on my end using your sample and see how it is.

However, I have reported the issue on FireFox 3.6 to the developer team. Hopefully, the issue occured in FireFox 3.6 is gone when they have fixed the WebGrid control.

Thank you.

 

Regards,
-Martin-

Posted: May 26, 2011 10:48 PM

Hello Jef,

I have reported  your request to the developer team. Currently, I haven't got any update from the developer team. I will try to follow up your request again with them.

I will let you know as soon as possible.

Thank you.

 

Regards,
-Martin-

Posted: May 26, 2011 2:18 AM

Hello,

What browser do you use when you run the project?

Could you provide a simple working sample that replicates this issue, so that I can run a test on this issue here?

Thank you.

 

Regards,
-Martin-

All times are GMT -5. The time now is 4:34 PM.
Previous Next