Click here to Skip to main content
15,891,981 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCode for page ranking Pin
rummer4-Jun-10 19:46
rummer4-Jun-10 19:46 
AnswerRe: Code for page ranking Pin
Sandeep Mewara4-Jun-10 19:57
mveSandeep Mewara4-Jun-10 19:57 
AnswerRe: Code for page ranking Pin
Peace ON4-Jun-10 19:59
Peace ON4-Jun-10 19:59 
GeneralRe: Code for page ranking Pin
Sandeep Mewara4-Jun-10 20:06
mveSandeep Mewara4-Jun-10 20:06 
GeneralRe: Code for page ranking Pin
Peace ON4-Jun-10 21:12
Peace ON4-Jun-10 21:12 
RantRe: Code for page ranking Pin
saini arun4-Jun-10 20:03
saini arun4-Jun-10 20:03 
Questionhow to restrict the user not to redirect to other page when check box is checked in asp.net with c# Pin
developerit4-Jun-10 19:08
developerit4-Jun-10 19:08 
AnswerRe: how to restrict the user not to redirect to other page when check box is checked in asp.net with c# Pin
Peace ON4-Jun-10 19:52
Peace ON4-Jun-10 19:52 
hi,

First thing you need to take care is that
do not add any record to database unless and until user
is pressing add button.
(Hope you are already doing that)

Second is on gridview page navigation event you need to cancel
add operation if there is no any data added to any of the column
in new row that is added.

You can also add validation controls to gridview so that your user
cannot add record that has all the fields blank.

Find following links useful.

ASP.NET GridView - Add a new record[^]

http://www.asp.net/data-access/tutorials/adding-validation-controls-to-the-editing-and-inserting-interfaces-vb[^]

http://geekswithblogs.net/dotNETvinz/archive/2009/02/22/gridview-insert-edit-update-and-delete--the-ado.net-way.aspx[^]


You will find more help by little googling regarding
how to cancel adding of new blank record.

That's it.


HTH
Jinal Desai - LIVE
Experience is mother of sage....

AnswerRe: how to restrict the user not to redirect to other page when check box is checked in asp.net with c# [modified] Pin
Ankur\m/4-Jun-10 21:32
professionalAnkur\m/4-Jun-10 21:32 
Questionhow to send all pages from gridview control to email using asp.net with c# Pin
developerit4-Jun-10 19:00
developerit4-Jun-10 19:00 
AnswerRe: how to send all pages from gridview control to email using asp.net with c# Pin
Peace ON4-Jun-10 19:43
Peace ON4-Jun-10 19:43 
Questiondatetime question Pin
Edward Topalian4-Jun-10 14:14
Edward Topalian4-Jun-10 14:14 
AnswerRe: datetime question Pin
Rutvik Dave4-Jun-10 14:24
professionalRutvik Dave4-Jun-10 14:24 
QuestionRe: datetime question Pin
Edward Topalian4-Jun-10 14:37
Edward Topalian4-Jun-10 14:37 
AnswerRe: datetime question Pin
Rutvik Dave4-Jun-10 15:51
professionalRutvik Dave4-Jun-10 15:51 
GeneralRe: datetime question Pin
Edward Topalian5-Jun-10 6:06
Edward Topalian5-Jun-10 6:06 
QuestionHow to make fixed header in gridView inside asp:panel? Pin
mittalpa4-Jun-10 8:34
mittalpa4-Jun-10 8:34 
AnswerRe: How to make fixed header in gridView inside asp:panel? Pin
Yusuf4-Jun-10 13:38
Yusuf4-Jun-10 13:38 
GeneralRe: How to make fixed header in gridView inside asp:panel? Pin
Sandeep Mewara4-Jun-10 20:07
mveSandeep Mewara4-Jun-10 20:07 
GeneralRe: How to make fixed header in gridView inside asp:panel? Pin
Yusuf5-Jun-10 11:38
Yusuf5-Jun-10 11:38 
GeneralRe: How to make fixed header in gridView inside asp:panel? Pin
Sandeep Mewara5-Jun-10 23:31
mveSandeep Mewara5-Jun-10 23:31 
AnswerRe: How to make fixed header in gridView inside asp:panel? Pin
Sandeep Mewara4-Jun-10 20:03
mveSandeep Mewara4-Jun-10 20:03 
QuestionDynamically setting width of controls Pin
mark_me4-Jun-10 8:25
mark_me4-Jun-10 8:25 
AnswerRe: Dynamically setting width of controls Pin
Peace ON4-Jun-10 22:57
Peace ON4-Jun-10 22:57 
QuestionWhat is photosynthesis example like bingmaps site Pin
somasekhara7774-Jun-10 8:23
somasekhara7774-Jun-10 8:23 

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.