FineUI 官方论坛
标题:
页面刷新问题
[打印本页]
作者:
wyrdtc
时间:
2012-11-16 07:02
标题:
页面刷新问题
引用服务端控件,repeater
数据筛选,无法刷新控件数据
或者直接将数据源写在页面上,点击过滤数据也无法刷新
求大神们指导~~~
作者:
wyrdtc
时间:
2012-11-16 14:44
sanshi 发表于 2012-11-16 16:36
http://demo.extasp.net/#/aspnet/aspnet.aspx
如果数据源直接在页面,像这样子
<%
System.Collections.Generic.IList<CloudContact.Data.OA_DailyLog> daliys = GetDaiyLogByDepartment();
int i = 0;
if (daliys != null)
{
foreach (CloudContact.Data.OA_DailyLog view in daliys)
{
i++;
if (i % 2 == 1)
{
%>
<tr style="vertical-align: middle; background-color:White;">
<%
}
else
{
%>
<tr class="alternate">
<% } %>
<td style="width: 9%; vertical-align: middle; text-align: center">
<%
// String strURL = "AllPersonalDailyList.aspx?Category=";
String strURL = "DailyMonth.aspx?ContactID=";
strURL = strURL + view.ContactID;
String strDetailURL = "DailyLogDetail.aspx?Id=";
strDetailURL = strDetailURL + view.OADailyLogID;
%>
<a href="<%=GetFormat(strURL)%>" target=_self >
<%--<a id="lbl_toRc_" runat="server" href="#">--%>
<%=GetFormat(view.TrueName)%>
</a>
</td>
<td style="width: 20%; vertical-align: top">
</td>
<td style="width: 30%; vertical-align: top;">
<a class="clickA" onclick="
ICKER = new Picker()
ICKER.open('<%=strDetailURL%>',null,null,550,420);" >
<%= view.IsDelay == 1 ? GetDelayLogFormat(view.TodayLog):GetFormat(view.TodayLog) %>
</a>
</td>
<td style="width: 20%; vertical-align: top">
<%=GetFormat(view.TodayQuestion)%>
</td>
<td style="width: 20%; vertical-align: top">
<%=GetComment(view.OADailyLogID.ToString())%>
</td>
<%}
}
%>
</tr>
</table>
页面要怎么刷新?
作者:
sanshi
时间:
2012-11-16 16:36
http://demo.extasp.net/#/aspnet/aspnet.aspx
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4