Click here to Skip to main content
15,897,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow can we use multiline and New line character in asp.net Pin
Hemant Garg18-Jun-07 22:40
Hemant Garg18-Jun-07 22:40 
AnswerRe: How can we use multiline and New line character in asp.net Pin
wEb GuRu...18-Jun-07 23:28
wEb GuRu...18-Jun-07 23:28 
QuestionCode failed to validate username Pin
ASPnoob18-Jun-07 21:50
ASPnoob18-Jun-07 21:50 
AnswerRe: Code failed to validate username Pin
Chetan Ranpariya18-Jun-07 21:56
Chetan Ranpariya18-Jun-07 21:56 
GeneralRe: Code failed to validate username Pin
ASPnoob18-Jun-07 22:07
ASPnoob18-Jun-07 22:07 
AnswerRe: Code failed to validate username Pin
Chetan Ranpariya18-Jun-07 23:17
Chetan Ranpariya18-Jun-07 23:17 
AnswerRe: Code failed to validate username Pin
szukuro18-Jun-07 22:30
szukuro18-Jun-07 22:30 
QuestionItemInserted event & formview communication Pin
aitch4218-Jun-07 21:37
aitch4218-Jun-07 21:37 
Hi all:
I have a comunications problem, and hope someone can help.

I have a page with a formview, [myForm.fvSpecies] in it, with the Insert method bound to a class method [clsSpecies.Insert], which itself calls an method in another class, [clsDBUpdate.Insert] that holds SQL.
This all works find, and on completion, [clsUpdate.Insert] (automatically behind-the-scene) raises an [ItemInserted] event that is trapped and handled by my [myForm.fvSpecies], as expected.

However, the problem occurs when I programmatically decide not to do the insert, eg if the user is not authorised.
AFAICS, the ItemInserted event arguments are identical, whether the actual insert happened or not (which is fair enough as the method [clsSpecies.Insert] completes, whether it calls [clsDBUpdate.Insert] and executes the SQL or not).

But what i want to do is to inform fvSpecies whether the update really occured or not.
I have tried to update the event-arguments of ItemInserted, but I cannot work out how, and I have tried to raise an event myself, but i cannot trap it: so please can anyone explain how my [clsSpecies.Insert] method can communicate with fvSpecies formview, via the ItemUpdated method or some other way, so I can be in control of the parameters and set a message or a code or something, myself, so the [myForm.fvSpecies] (or containing form myForm) knows what happened?

There must be a simple way to be in control of this communication, either by piggy-backing the automatic ItemInserted event or raising another event myself: but I cannot figure it out or find it.

Many thanks -

aitch
--x---

Questionhow to get item template Pin
srinivassam18-Jun-07 21:31
srinivassam18-Jun-07 21:31 
AnswerRe: how to get item template Pin
Tarik Guney18-Jun-07 22:15
Tarik Guney18-Jun-07 22:15 
AnswerRe: how to get item template Pin
Nouman Bhatti19-Jun-07 1:58
Nouman Bhatti19-Jun-07 1:58 
QuestionRegarding Maverick.NET Pin
stkartik18-Jun-07 21:09
stkartik18-Jun-07 21:09 
QuestionHow to correct? Pin
Socheat.Net18-Jun-07 21:01
Socheat.Net18-Jun-07 21:01 
AnswerRe: How to correct? Pin
6-shooter18-Jun-07 21:15
6-shooter18-Jun-07 21:15 
GeneralRe: How to correct? Pin
MaheshSharma18-Jun-07 23:32
MaheshSharma18-Jun-07 23:32 
AnswerRe: How to correct? Pin
Venkatesh Mookkan18-Jun-07 21:18
Venkatesh Mookkan18-Jun-07 21:18 
GeneralRe: How to correct? Pin
Socheat.Net18-Jun-07 21:34
Socheat.Net18-Jun-07 21:34 
AnswerRe: How to correct? Pin
Jay_se18-Jun-07 21:19
Jay_se18-Jun-07 21:19 
GeneralRe: How to correct? Pin
Socheat.Net18-Jun-07 21:39
Socheat.Net18-Jun-07 21:39 
QuestionFrom browser itself print view..........., Pin
Member 387988118-Jun-07 21:00
Member 387988118-Jun-07 21:00 
QuestionPerfomrmance Measurement in asp.net Pin
Chetan Ranpariya18-Jun-07 20:55
Chetan Ranpariya18-Jun-07 20:55 
AnswerRe: Perfomrmance Measurement in asp.net Pin
Sandeep Akhare18-Jun-07 21:31
Sandeep Akhare18-Jun-07 21:31 
GeneralRe: Perfomrmance Measurement in asp.net Pin
Chetan Ranpariya18-Jun-07 21:34
Chetan Ranpariya18-Jun-07 21:34 
QuestionUpgrading from vb 6.0 to .net 2005 Pin
ShuklaGirish18-Jun-07 20:18
ShuklaGirish18-Jun-07 20:18 
AnswerRe: Upgrading from vb 6.0 to .net 2005 Pin
Christian Graus18-Jun-07 20:21
protectorChristian Graus18-Jun-07 20:21 

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.