Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:718312
More Search Options
RSS Available
Matching Posts
Item in Gridview visible after delete
Hiii folks, I have a Gridview with some data. In the 'RowDeleting event' from the Gridview I delete a selected item. This works fine (the item is gone in the database). But the item is still visible in de Gridview. This is strange because after the 'RowDeleting event' I databind the Gridview once again. Someone who can help me? Thanks! Bram
Posted to
Data Presentation Controls
(Forum)
by
DoaX
on 7/15/2009
Re: Item in Gridview visible after delete
@mohd786hussain: Yes, this is the code i have In page_load if (!isPostback) { // bind your grid } And in GridView_RowDeleting //delete code BindGridview();
Posted to
Data Presentation Controls
(Forum)
by
DoaX
on 7/15/2009
Re: Item in Gridview visible after delete
@bbalavikram: I use Firefox @ joydeepsen: when I do this the whole gridview disappear and the item isn't gone in the database. But the strange thing is: when I go into the deleting code with the debugger the item is gone (in database and gridview) Strange isn't it?
Posted to
Data Presentation Controls
(Forum)
by
DoaX
on 7/15/2009
Re: Item in Gridview visible after delete
The row is gone in the Database. When I refresh my page the row is also gone in the gridview ...
Posted to
Data Presentation Controls
(Forum)
by
DoaX
on 7/15/2009
Re: Item in Gridview visible after delete
[quote user="bbalavikram"] Please make sure you are committing the transaction if you are using one !!!! [/quote] Explain please?
Posted to
Data Presentation Controls
(Forum)
by
DoaX
on 7/15/2009
Re: Item in Gridview visible after delete
But there is nothing wrong with my delete method ... The item is gone in the database. Only in the Gridview it's still visible. After a page-refresh it's also gone in the Gridview. Strange things :)
Posted to
Data Presentation Controls
(Forum)
by
DoaX
on 7/15/2009
Re: Regex.replace: pattern for div with a class
Raggers, This work: <div class=\"menu\"[^>]*>(.*)?</div> but he only remove my "<div class="menu">" not all the html inside my div ... Someone?
Posted to
Web Forms
(Forum)
by
DoaX
on 5/21/2008
Re: Regex.replace for div with a classe
There is no error. He simply doesn't replace the div
Posted to
Web Forms
(Forum)
by
DoaX
on 5/20/2008
Regex.replace: pattern for div with a class
Hi, Can someone give the pattern for replace a <div class="menu"> in a html code? I want delete everything in the <div class="menu"></div> I tried this but it doesn't work: result = System.Text.RegularExpressions.Regex.Replace(result, "<div class=\" menu\ ">*?</div>" , string .Empty, System.Text.RegularExpressions.RegexOptions.IgnoreCase);
Posted to
Web Forms
(Forum)
by
DoaX
on 5/20/2008
Re: forms authentication - email current page as html
I have the same problem ... This doesn't work: WebRequest wreq = System.Net.HttpWebRequest.Create(Request.Url.OriginalString); wreq.Credentials = CredentialCache.DefaultCredentials; WebResponse wrsp = wreq.GetResponse(); StreamReader sr = new StreamReader(wrsp.GetResponseStream()); string strHTML = sr.ReadToEnd(); sr.Close();
Posted to
Security
(Forum)
by
DoaX
on 5/20/2008
Page 1 of 4 (40 items) 1
2
3
4
Next >
Silverlight:
ASP.NET 4, ASP.NET MVC, and Silverlight 4 Videos of my Talks in Europe
Channel 10:
Faster Solid State Drives for Windows 7 Arrive
ASP.NET:
Death to confirmation dialogs with jquery.undoable
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online