分页警报消息 [英] Alert message for Paging

查看:99
本文介绍了分页警报消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在网格视图中使用下拉列表.

我在GridViewControl中选择了DropDownValues.

在这里,我没有使用网格视图分页" .

我正在使用自己的分页".

当我进行分页时,我需要使用确定"和取消"按钮的警报消息(是否要重置下拉值).

如果单击确定",则转到下一页;如果单击取消"按钮,则它应仅在同一页面中.

这里的主要问题是每当更改整个页面的下拉列表"重新加载时.

所以,请您帮我编码..

如果您能在这方面帮助我,那就太好了.

提前非常感谢您.

Hi All,

I am using drop down lists in Grid view.

I selected DropDownValues in GridViewControl.

Here i am not using "grid view paging" .

I am using my "own pagination" .

When i do pagination i need alert message(would you like to reset dropdown values) with "OK" and "CANCEL" buttons.

If we click on "OK" go to next page and if we click on "CANCEL" button it should be in samepage only.

Here main problem is whenever "dropdown" changing total entire page is reloading.

So, could you please help me in coding..

It would be great if u can help me out in this regard.

Thank you so much in advance.

推荐答案

在这里发布一些代码之前,很难帮助您.
但是,您需要实现的是
It is difficult to help you out until you post some code here.
However, what you kind of need to implement is
if (MessageBox.Show("...") == MessageBoxResult.Ok)
{
CallMyPaginationMethod();
}


参考文献:
http://blog.ysatech.com/post/2010/02/15/ASP-NET-Confirm-dialog-box-based-on-DropDownList-selected-value.aspx [ http://forums.asp.net/p/1636849/4227706.aspx [ ^ ]
References:
http://blog.ysatech.com/post/2010/02/15/ASP-NET-Confirm-dialog-box-based-on-DropDownList-selected-value.aspx[^]

http://forums.asp.net/p/1636849/4227706.aspx[^]


这篇关于分页警报消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆