User Profile & Activity

Hans Kristian Member
Page
of 69

Hi,

Thank you for testing my sample.

I’ve made a new sample using .NET Framework 2. I run the sample and then do filtering.



However, I still can't reproduce your issue on my end.

I attached my sample as well.

Thank you.

Regards,



Hans.

Hello,

 

Thank you for your sample.

 

I’ve made a sample based on your code of your sample.

But unfortunately, I can’t replicate your issue on my end (FilterTrue.png).

 

I use WebGrid.NET 8.0.7200.100, WebUI.NET Framework 3.0.5000.805, and .NET Framework 4.

 

I attached my sample as well. Please review my sample and please let me know, if there is a settings that I’ve missed.

 

Thank you.

 

Regards,

Hans.

Hi,

I’m sorry for this misunderstanding.

I tried to filter with “Compa&ny” as well. However, I can’t reproduce your issue on my end. (FilterAnd.png)
Have you try to use the latest hotfix of the WebGrid and the WebUIFramework?
I use WeGrid.NET 7.0.7200.533 and WebUI.NET Framework 3.0.5000.803.

I also attached my sample. If you don’t mind, could you tell me, is there any setting that I have miss in my sample?
Or could you send me a simple project that replicate this issue?

Thank you.

Regards,
Hans.

Posted: June 29, 2012 12:56 AM

Hello,

Thank you for your question and the sample.

I’ve made a simple sample, based on your sample. And I can replicate your issue as well.
I’m sorry for the inconvenience.

To resolve this issue, you should slightly modify the style of your WebGrid row.
Here’s the snippet code that you should modify:

From:
<AlternatingRowStyle CustomRules="text-overflow: ellipsis; overflow: hidden; overflow-y: hidden; overflow-x: hidden;" BackColor="#DDECFE" Font-Size="8pt" Font-Names="Verdana"></AlternatingRowStyle>

To:
<AlternatingRowStyle Overflow="hidden" OverflowX="hidden" OverflowY="hidden" CustomRules="text-overflow: ellipsis; overflow: hidden; overflow-y: hidden; overflow-x: hidden;" BackColor="#DDECFE" Font-Size="8pt" Font-Names="Verdana"></AlternatingRowStyle>

And
From:
<RowStyle CustomRules="text-overflow: ellipsis; overflow: hidden; overflow-y: hidden; overflow-x: hidden" BackColor="White" Font-Size="8pt" Font-Names="Verdana"></RowStyle>

To:
<RowStyle Overflow="hidden" OverflowX="hidden" OverflowY="hidden" CustomRules="text-overflow: ellipsis; overflow: hidden; overflow-y: hidden; overflow-x: hidden" BackColor="White" Font-Size="8pt" Font-Names="Verdana"></RowStyle>

I attached my sample as well. In my sample, I bind WebGrid to Northwind.mdb database (Shippers table)

Hope this helps.
Regards,
Hans.

Hi,

Yes, I’m using WebGrid 7 in my sample.

I’ve tried set filter option to “Equals To”, then entered “&” value. And I gets “no row” message as well. (FilterEqualsTo.png)
As far as I know, if you set filter option to “Equals To”, that means WebGrid will only find data that equal/same with “&”. 

You have two option to get all row that contain “&” value :
First, if you want to use “*&” value, you should set filter option to “Like”. (FilterLike.png)
Second, if you want to use “&” value, you should set filter option to “Contains”. (FilterContains.png)

Thank you.

Regards,
Hans.

Hello,

I’m sorry for the inconvenience.
I’ve made a simple sample that maybe similar with your scenario.
In my sample, I use Northwind.mdb and Shippers table. In Shippers table, I added a couple row that have “&” value in CompanyName column (BeforeSearch.png).
I tried to do filtering in CompanyName column with “**&**” and I got “no rows” message as well (AfterSearch-1.png).

To run your filter scenario, perhaps you could filter the value with “*&”. This filter value, works on my end (AfterSearch-2.png)

Hope this helps. Thank you.
Regards,

Hans.

Hello,

I’m sorry for the late response.

Based on information that you had given to me, the pop-up still appear, due to you put an incorrect license key.

Please make sure that you are using “Design License Key”, not “Runtime License Key”.


We need to use “web.config” file to add “Runtime License Key”, when we want  to deploy our project.

However, if you want to licensing your product (in development phase),  with “Design License Key”, you could use “License Manager” application from Intersoft program group.

For further information about how to licensing your product, please follow this link below:

http://www.intersoftpt.com/Build/LicensingYourProducts

For further information about the difference between Design Time and Runtime license key, please this link below:

http://www.intersoftpt.com/Support/WebUIStudio/Tutorial/Text/What-is-Design-Time-license-key-and-Runtime-license-key/


If you still get the same issue, could you please to tell me, what product that you use? So that I can investigate this issue further more.


Hope this helps. Thank you.

Regards,

Hans.

Posted: June 21, 2012 11:57 PM

Hello,


You're welcome John.

Please don't hesitate to ask me again, if you have another question.

I would be happy to help you again.


Regards,

Hans

Posted: June 21, 2012 11:50 PM
Hello,

Thank you for information code that you have given to me.
I made a simple project based on your code. I add WebButton to do PostBack event.
And I can replicate your issue on my end as well (after PostBack event).

To resolve this issue, you  should add Name property in your first column (CheckBox Column)
I enclosed the snippet code that you should modify:...
<Columns>
	<ISWebGrid:WebGridColumn ColumnType="Custom" Width="35px" AllowSizing="No"/>
	<ISWebGrid:WebGridColumn ColumnType="Text" Width="35px" Name="Tran" AllowSizing="No" />
	<ISWebGrid:WebGridColumn ColumnType="Text" Width="50px" Name="Num" AllowSizing="No" />
	...
</Columns>
...
Modify to:
...
<Columns>
	<ISWebGrid:WebGridColumn ColumnType="Custom" Width="35px" AllowSizing="No" Name="CheckBoxColumn" />
	<ISWebGrid:WebGridColumn ColumnType="Text" Width="35px" Name="Tran" AllowSizing="No" />
	<ISWebGrid:WebGridColumn ColumnType="Text" Width="50px" Name="Num" AllowSizing="No" />
	...
</Columns>
...

 I also attached my sample. 


Hope this helps. Thank you.

Regards,

Hans.

Posted: June 21, 2012 12:06 AM
Hello,

I’m sorry for the inconvenience.
This issue occurs, perhaps because of WebGrid doesn’t do resize completely after do post back.

To handle this issue, you could use wgDoResize() javascript function in OnInitialize() client side event of WebGrid.
Here’s the snippet example code, how to use wgDoResize() function:
function WebGrid1_OnInitialize(controlId)
{
	var WebGrid1 = ISGetObject(controlId);
	wgDoResize(true, true);
	return true;
}

Then please ensure that you are using our latest hotfix version for WebGrid and the framework.


If the issue still occur, could you tell me the step by step how to reproduce this issue?

Or if you don’t mind, could you please send me a simple project that replicate this issue?

So that I can investigate this issue further.


Hope this helps. Thank you.


Regards,

Hans.

All times are GMT -5. The time now is 8:27 PM.
Previous Next