User Profile & Activity

Bernard Xiang Member
Page
of 52
Posted: July 26, 2012 11:01 PM

Hi su su,

Could you let me know the version of VS that you used to replicate this issue? This issue might be happen because Designer doesn't got the object that used in Designer. For now you can set the value manually in you designer or programmatically using server-side event. Hope this helps.


Regards,

Bernard

Posted: July 26, 2012 10:05 PM

Hi John,

I think this walkthough will help you. You can go to WebGrid's Documentation (http://intersoftpt.com/Support/WebGrid/Documentation/), go to Walkthrough Topics tab, then you can see Walkthrough: Implementing Custom Paging using ISDataSource inside Paging Data sub topic. 

Hope this helps.


Regards,

Bernard

Posted: July 26, 2012 4:14 AM

Hi John,

Actually, you couldn't do Custom PagingLoadMode in ClassicPaging without using DataSource. WebGrid automatically sends the parameter to DataSource so it can configure its Paging. Currently, only ISDataSource and ObjectDataSource that support Paging. However, I recommend you to use ISDataSource for this scenario. ISDataSource can takes data from your class as CustomObject so you can do your paging. Hope this helps.


Regards,

Bernard


For more information, see http://intersoftpt.com/Support/WebGrid/Documentation/#url=topic511.html

Posted: July 24, 2012 11:26 PM

Hi John,

From information that you mentioned above, you want to make Classic paging that show the index of data that has been loaded to WebGrid. You can do this with ClassicPaging but you must handle the index in client-side event.

I've made my own sample that show your scenario. In my sample I'm using Access Database instead of Oracle Database. And I'm not using DataSourceControl like your scenario. I attach my sample here.

Hope this helps.

 

Regards,

Bernard

Hi Ahmed,

Glad to hear that from you. If you have any question, please don't hesitate to ask us.

Regards,
Bernard

Hi Alessandro,

In WebGrid, the function of this property (TreatMarkupAsLiteralText) is to gets or sets whether markups such as HTML or XML should be treated as literal text. Therefore in WebGrid filter row's cell you couldn't put 2 or more spaces because the HTML will render it into 1 space. However, if you want to put 2 or more spaces on filter row's cell, you can put the text in HTML format such as "Text  Text". That will treated as "Text  Text" (2 spaces). Hope this helps.

 

Regards,

Bernard

Hi Ahmed,

I've made sample to resolve this problem. In InitializeLayout event, you can save scrollBar position value of your WebGrid. Then when WebGrid do PostBack you can set scrollBar position value in InitializePostBack event.

I also attach my sample here. In my sample, I using Northwind as my DataSource. Hope this helps.

 

Regards,

Bernard

Hi su su,

Thank you for your compliment. If you have any further question please don't hesitate to ask us. We will gladly help you.

Regards,
Bernard

Hi su su,

This scenario cannot be accomplished with WebFileUploader feature now. But I've made workaround to accomplish this requirement. I also attach the file in here. Hope this helps.


Regards,

Bernard

Hi Jeff,

I've tried to replicate your issue in our local end but unfortunately it works fine. I also made my own sample and I attach it here. In my sample, I using Northwind as my Dataset. Could you check my sample and tell me if there's something I missed from my configuration?

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


Regards,

Bernard

All times are GMT -5. The time now is 2:19 PM.
Previous Next