Home All Groups Group Topic Archive Search About

Detailsview empty dataset insert

Author
19 May 2005 12:12 PM
Justin Rich
My details view is in insert mode and my dataset is empty but the details
view doesnt show..

not sure how to toss this at MS but i think they should code that if its in
insert mode the empty dataset doesnt make it invisible..

Author
19 May 2005 6:08 PM
Brock Allen
You can provide a <EmptyDataTemplate> for when the DetailsView has nothing
to show.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Show quoteHide quote
> My details view is in insert mode and my dataset is empty but the
> details view doesnt show..
>
> not sure how to toss this at MS but i think they should code that if
> its in insert mode the empty dataset doesnt make it invisible..
>
Author
19 May 2005 8:44 PM
Justin Rich
yes but doesn't that mean I still have to code all the insert stuff? sort of
defeats the purpose of the "codeless" idea MS has for this don't you think?

also how would I go about coding this? do I have to go as far as creating a
text box for the fields and doing the insert manually with a
dataset/connection? or is there an easy way to accomplish this?

Thanks
Justin

Show quoteHide quote
"Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
news:767271632520977129188416@msnews.microsoft.com...
> You can provide a <EmptyDataTemplate> for when the DetailsView has nothing
> to show.
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>
>> My details view is in insert mode and my dataset is empty but the
>> details view doesnt show..
>>
>> not sure how to toss this at MS but i think they should code that if
>> its in insert mode the empty dataset doesnt make it invisible..
>>
>
>
>