User Profile & Activity

Handy Surya Support
Page
of 223

Hi Yousif,

Thank you for your report. Our development team would fix this in a short time. It should be up just in moment.

Regards,
Handy

Posted: August 23, 2010 11:47 AM

Sure. Here is the list.

  • PreInitialize
  • Init
  • Page_Load
  • InitializeLayout
  • InitializeDataSource
  • PrepareDataBinding
  • Load
  • InitializePostBack
  • UnLoad
Regards,
Handy

Posted: August 23, 2010 9:07 AM

Hello George,

Please let me know your machine environment. We have done several test to ensure that the toolbox installation works well. If toolbox installation fails, you can also install it manually. Please refer into our documentation and search for how to install toolbox manually. It should guide you.

Regards,
Handy

Posted: August 19, 2010 4:52 AM

Hello Sukhdeep,

Thank you for your sample. It's true that we have changed the delete behaviour when using a cache or session.
Therefore, you will need to use additional code.
Please try to use below code in DeleteRow server side event. I already tested it and worked fine in here.

 protected void grdTest_DeleteRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
    {
        DataRowView drv = e.Row.DataRow as DataRowView;
        DataRow dr = drv.Row;
        dr.Delete();
        e.ReturnValue = false;
    }

Regards,
Handy

Posted: August 19, 2010 4:44 AM
Hi Yousif,

Here is the life cycle of the list events. Hope this helps.

  • PreInitialize
  • Init
  • Page_Load
  • InitializeLayout
  • InitializeDataSource
  • PrepareDataBinding
  • Load
  • PreRender
  • InitializeTable
  • InitializeRow
  • InitializeCell
  • Unload

Regards,
Handy
Posted: August 19, 2010 12:55 AM

Hi Sukhdeep,

I don't see any attachment in here. I need your sample to investigate the issue.
Currently, our livesample is running well for delete scenario.
So, I think maybe something in your scenario that we need to replicate the issue. Also, please ensure you have defined DataKeyField in your roottable. Some delete issue could be occurred because of this.

Regards,
Handy

Posted: August 18, 2010 12:41 AM

Hi Yousif,

Please see the list below about the lifecycle.

when run the page,

  • PreInitialize
  • Init
  • Page_load
  • InitializeLayout
  • InitializeDataSource
  • Load
  • PreRender
  • Unload
when click on dropdown (flypostback)
  • PreInitialize
  • Init
  • Page_load
  • InitializeLayout
  • InitializePostBack
  • PrepareDataBinding
  • InitializeRow
  • Unload
Currently, this is the information that I can give. I will let us our documentation team know about this as feedback.

Regards,
Handy

Hi Snusha,

I am sorry, I was missing in reading that you are using VS2005.

Same as I said before, you were missing template in your visual studio. 

You will need to copy the attached template I gave you.

The correct location should be C:\Users\(your user name)\Documents\Visual Studio 2005\Templates\ItemTemplates\Visual C#.

Regards,
Handy

Posted: August 15, 2010 11:01 PM

Hello,

If you only want to remove WebGrid from your page, I think you only need to remove the controls from your container.

e.g You placed WebGrid inside a div. Please set div id as "div1" and set runat="server".

Then, to remove WebGrid from div, simply use the code below at server.

div1.Controls.Remove(WebGrid1);

If you want to clear all record and structure in WebGrid, simply use the code below.

 WebGrid1.DataSourceID = null;
 WebGrid1.RootTable.Columns.Clear();
Regards,

Handy

Posted: August 15, 2010 11:01 PM

Hello,

If you only want to remove WebGrid from your page, I think you only need to remove the controls from your container.

e.g You placed WebGrid inside a div. Please set div id as "div1" and set runat="server".

Then, to remove WebGrid from div, simply use the code below at server.

div1.Controls.Remove(WebGrid1);

If you want to clear all record and structure in WebGrid, simply use the code below.

 WebGrid1.DataSourceID = null;
 WebGrid1.RootTable.Columns.Clear();

Regards,

Handy

All times are GMT -5. The time now is 8:06 AM.
Previous Next