User Profile & Activity

Handy Surya Support
Page
of 223

Hello,

What did you mean by not working? It works well in here. I can also show video to show that the filter or select query is working. It does not matter as long as your query in reselecting the data is correct.
At least please send me a simple runable sample that replicates your issue. We will help you by debugging and see what's the missing part.

Regards,
Handy

Hello,

It is different from normal scenario. In Flat or normal WebGrid, we have ISRowChecker which will check or uncheck rows when the checkbox header clicked. However, in grouping, hierarchical or even in SelfReference, you might see that the child level is not checked. This is default behaviour. 
Since this is not a treeview, even though the parent row is checked, the child will not be checked. 
Our checkbox is only for a flag for the current row. That's why it does not designed for the other level.
Same result with your custom checkbox. I think you used logic to check the loaded row. However, it can only be applied for one level (parent).
You will need to add additional code to get the selfreference child rows and check them manually.

Regarding the expand in SelfReference, when there is a flypostback request such as sort,refresh, update, etc, WebGrid would collapse the level again. We don't have any property to handle that scenario for now.
I suggest you to expand all the row at first load. With this way, it will not get closed.

 protected void WebGrid1_InitializeRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
    {
        if (e.Row.SelfRefChildren != null)
        {
            e.Row.ExpandSelfRefRow();
        }
    }

Regards,
Handy

Hello Jean,

I can replicate the issue in here. The issue only happens on IE in HTML doctype. Also, your current script is not well-formatted. It should be:

<a class="xxxxx" onclick="javascript:doSomething(); return false" href="#">hello</a>

Our developer team has fixed the issue. Please apply the attached hotfix. It should fix the issue.

Regards,
Handy

Posted: September 1, 2011 2:34 AM

Hello,

We are sorry for the late response due to public national mouslim holiday in our country.
Followed your step by step, I can replicate the issue in here. I will report this problem to our developer team.

Regards,
Handy

Posted: September 1, 2011 2:32 AM

Hello,

Please let me know in detail which sample that you run. I think it should not be an issue.
Based on your aspx code, you should not able to input "2011-08-30". The edit format is "dd-MMM-yyyy" which makes you could not input "2011-09-30". I think the expectation result is already correct.

Regards,
Handy

Posted: August 31, 2011 10:55 PM

Hello Yousif,

I think this is not a bug or an issue. When bind WebCombo programmatically and using LoadOnDemand scenario, you could not hanlde with your current way. The problem is, the data has not loaded or not loaded correctly with your current way. Also, you bind WebCombo not in correct place. Please use InitializeDataSource, instead of Load event.
To use LoadOnDemand scenario, you will need to handle your operation manually. This what is called by LoadOnDemand. Simply set AllowAutoQueryHandler property to false.
By turning off this property, every time you click on DropDown and type a text, this event would be called.

Regards,
Handy

Posted: August 31, 2011 10:31 PM

Hello Mythili,

Are you using SmartWebResources? The error message shows that you are missing ISNet.WebUI.WebGrid.Resources.dll. Please add it in your project bin folder and let me know if the problem still persists or not.

Regards,
Handy

Posted: August 31, 2011 10:29 PM

Hello Murthy,

It works fine in here. We do have issues at the past. If I am not mistaken in the current build you have now. In order to run the sample, I suggest you to update into the latest hotfixes.

Regards,
Handy

Hi Sir,

That's not the way to call that event. We have clientside property in WebScheduler. You need to call that event with this property. I attached a simple sample to show you how.

Regards,
Handy

Hello,

Please find attached sample. It should guide you how to select by using parameter. You can also shifting the parameter and rebind it to WebGrid.

Note: To run the sample, please use Northwind database.

Regards,
Handy

All times are GMT -5. The time now is 6:18 PM.
Previous Next