Click here to Skip to main content
15,895,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: updated grid from sql server Pin
daveyerwin28-Apr-10 8:34
daveyerwin28-Apr-10 8:34 
GeneralRe: updated grid from sql server Pin
PunkIsNotDead28-Apr-10 19:55
PunkIsNotDead28-Apr-10 19:55 
GeneralRe: updated grid from sql server Pin
stassaf29-Apr-10 1:02
stassaf29-Apr-10 1:02 
GeneralRe: updated grid from sql server Pin
stassaf29-Apr-10 1:01
stassaf29-Apr-10 1:01 
GeneralRe: updated grid from sql server Pin
daveyerwin29-Apr-10 2:22
daveyerwin29-Apr-10 2:22 
GeneralRe: updated grid from sql server Pin
PunkIsNotDead29-Apr-10 16:37
PunkIsNotDead29-Apr-10 16:37 
GeneralRe: updated grid from sql server Pin
stassaf4-May-10 1:40
stassaf4-May-10 1:40 
GeneralRe: updated grid from sql server [modified] Pin
PunkIsNotDead4-May-10 18:31
PunkIsNotDead4-May-10 18:31 
Hi! you could use jQuery highlight effect Here[^]. Is the first thing I think you can use in to Highlight a cell.

And try using a updatepanel in a
<asp:templatefield headertext="Prueba">
<itemtemplate><asp:updatepanel runat="server" id="UpdPnl_Test" updatemode="Conditional">
< ContentTemplate>
< div class="DivTest">< %#Eval("DataToUpdate")%>< /div>
< / ContentTemplate>
< Triggers>
< asp:AsyncPostBackTrigger ControlID="Tmr_Update" EventName="Tick" / >
< / Triggers>
< / asp:UpdatePanel>
< / ItemTemplate>
< / asp:TemplateField>

and on the timer.tick event you must compare the last data and the new. and performing the jQuery event in which divs satisfy the condition of "diferent than last time" or something like that.

Hmmm | :| That would be hard men...
would be like < div... ...showHL='< %#Eval("UpdateThis")%>'> ...
and in the DataTable add a column with 'UpdateThis' to change (from false to true for example) in case that the last data changed too. And in script side you must select all divs that have changed every post back (or timer.tick)


$(document).ready(function(){
$('div[showHL="true"]')effect(
$("#effect").effect(selectedEffect,options,500,callback););

//callback function to bring a hidden div back
function callback(){
setTimeout(function(){ $('div[showHL="true"]').removeAttr('style').hide().fadeIn();
}, 1000);
});

note: jQuery function is not tested and i'm not sure of if it's sintax is ok too.

modified on Wednesday, May 5, 2010 12:38 AM

Questionhtml controle Pin
tek 200928-Apr-10 7:27
tek 200928-Apr-10 7:27 
AnswerRe: html controle Pin
Not Active28-Apr-10 7:46
mentorNot Active28-Apr-10 7:46 
AnswerRe: html controle Pin
Sandeep Mewara28-Apr-10 19:17
mveSandeep Mewara28-Apr-10 19:17 
GeneralRe: html controle Pin
PunkIsNotDead28-Apr-10 19:51
PunkIsNotDead28-Apr-10 19:51 
GeneralRe: html controle Pin
tek 200928-Apr-10 23:52
tek 200928-Apr-10 23:52 
GeneralRe: html controle Pin
PunkIsNotDead29-Apr-10 16:54
PunkIsNotDead29-Apr-10 16:54 
QuestionWebservice to import data Pin
Priya Prk28-Apr-10 5:05
Priya Prk28-Apr-10 5:05 
AnswerRe: Webservice to import data Pin
T M Gray28-Apr-10 6:37
T M Gray28-Apr-10 6:37 
GeneralRe: Webservice to import data Pin
Priya Prk28-Apr-10 21:05
Priya Prk28-Apr-10 21:05 
QuestionHow to Exprot Vertical Orientated Text Header to Excel Pin
Andraw11128-Apr-10 4:56
Andraw11128-Apr-10 4:56 
QuestionHow to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 3:44
Andraw11128-Apr-10 3:44 
AnswerRe: How to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 4:14
Andraw11128-Apr-10 4:14 
QuestionDropdownlist control problem Pin
cheguri28-Apr-10 1:56
cheguri28-Apr-10 1:56 
AnswerRe: Dropdownlist control problem Pin
daveyerwin28-Apr-10 2:04
daveyerwin28-Apr-10 2:04 
AnswerRe: Dropdownlist control problem Pin
Ankur\m/28-Apr-10 2:05
professionalAnkur\m/28-Apr-10 2:05 
AnswerRe: Dropdownlist control problem Pin
Sandesh M Patil28-Apr-10 3:16
Sandesh M Patil28-Apr-10 3:16 
GeneralRe: Dropdownlist control problem Pin
PunkIsNotDead28-Apr-10 20:05
PunkIsNotDead28-Apr-10 20:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.