User Profile & Activity

Bernard Xiang Member
Page
of 52
Posted: June 11, 2012 12:07 AM

Hi John,

I couldn't replicate your issue in our local end. I use IE7 browser to test your issue here. After edit LayoutSettings, when i run in IE7, the preview row still expand and doesn't show any error message.

I also attach my screenshot and my code here. Is there something I missed in my code below?


Regards,

Bernard

Posted: June 10, 2012 10:51 PM

Hi Ahmed,

Is the issue still occurs on WebGrid 7.0.7200.533 (latest WebGrid) ?

I couldn't replicate your issue in our local end. If the issue still happens, could you tell me the steps to replicate your issue? I also attach a video when i run the WebGrid in IE 8.

Look forward to heard any feedback from you so I can help you further.


Regards,

Bernard

Posted: June 7, 2012 9:41 PM
Hi Ahmed,

To get the WebDesktop folder, you can re-install your Intersoft's component with our latest installer. Please remember, when you uninstall the Intersoft component, please remove the license key that you have registered from the component (you can re-add it after you install the latest version).

Hope this helps.

Regards,
Bernard

Hi Michal,


I still don't know the exact date about the release of our product but it will released on this month.

I'll give you any news if I heard any news about the release. Thank you for your patience.


Regards,

Bernard

Posted: June 6, 2012 9:50 PM

Hi Ahmed,


I've tried to my sample on IE8, but unfortunately it works fine. Could you let me know the version of your WebGrid? 

For WebDesktop.dll and WebDesktop.Resources.dll, you can find it on \Intersoft Solutions\WebUI Studio for ASP.NET\WebDesktop.NET 3.0\Bin . For deployment, please ensure assemblies that project needs and assemblies on GAC folder are included in your project's bin folder.

Hopt this helps.


Regards,

Bernard

Posted: June 5, 2012 9:47 PM

Hi Ahmed,

I couldn't replicate your issue in our local end. I use WebGrid 7.0.7200.533 to reproduce this issue, but unfortunately it works fine. Could you let me know the version of WebGrid and the browser that you use to replicate this issue? If your WebGrid is not the latest, you can apply the Hotfix using Update Manager.

Hope this helps.


Regards,

Bernard

Posted: June 4, 2012 11:54 PM
Hi Rahul,

I can't replicate your code on our local end. I think this problem occurs because of some condition on Page_Load event (maybe there's IsPostBack validation on Page_Load event). To resolved this problem, I suggest you to put LoadColumn() in PrepareDataBinding event.

I also attach my own sample here. In my sample I use Northwind as sample's database and DataSet.
Hope it helps.

Regards,
Bernard
Posted: June 4, 2012 10:03 PM
Hi Ahmed,

Glad to hear that you have solved the problem. Thank you for your valuable feedback.

Regards,
Bernard

Hi su su,


Glad to hear that you have solved the problem. For references of WebGrid, you can see the tutorial video at http://intersoftpt.com/Support/WebGrid/Tutorial/ . And if you have any further question, please don't hesitate to ask us. We will gladly assist you.


Regards,

Bernard

Hi su su,

My code is the replicate of your code above. In your code above I didn't see oninitializedatasource="WebGrid1_InitializeDataSource" 
oninitializelayout="WebGrid1_InitializeLayout1" 
onpreparedatabinding="WebGrid1_PrepareDataBinding1" 

so I assume server-side code is not triggered because you don't have any handler in you snippet above.

If you have bind the database into ISDataSource1 (the codeless data binding), you shouldn't bind the database on your server-side too. Please read my post above. 

In your code, if you want to set NoEdit, you should put it on PrepareDataBinding event.

Here's the code:

protected void WebGrid1_PrepareDataBinding(object sender, DataSourceEventArgs e)
    {
        if (!IsPostBack)
        {
            WebGrid1.RetrieveStructure();
        }
        if (WebCombo1.Text != "")
        {
            WebGridFilter a = new WebGridFilter();
            a.ColumnMember = "UnitsInStock";
            a.FilterType = ISNet.WebUI.WebGrid.ColumnFilterType.EqualTo;
            a.FilterText = WebCombo1.Text;
            WebGrid1.RootTable.FilteredColumns.Add(a);
            if (WebCombo2.Text != "")
            {
                WebGridFilter b = new WebGridFilter();
                b.ColumnMember = "UnitsOnOrder";
                b.FilterType = ISNet.WebUI.WebGrid.ColumnFilterType.EqualTo;
                b.FilterText = WebCombo2.Text;
                WebGrid1.RootTable.FilteredColumns.Add(b);
            }
        }
        WebGrid1.RootTable.Columns[0].EditType = EditType.NoEdit;
    }

Hope this helps.

Regards,
Bernard 
All times are GMT -5. The time now is 8:44 PM.
Previous Next