Nub Question - Details View Visibility
Nub Question - Details View Visibility
am 07.01.2008 21:59:08 von randy.buchholz
Been fighting this one for a while, looking for help.
I have a simple page with a grid view and details view (just managing a
single table). The details view is primarily used for creating new records,
and the grid for display. Everything works fine unless there are no records
in the table. In this case the details view does not show, so there is no
way (for a user) to enter the first record unless I set the default mode to
Insert. I can work around by playing with the default mode, but that just
seems messy and over complicated. Is there a way to force visibility for an
empty details view? Also, is there a way to switch the details view to
insert mode without changing/toggling the default mode?
thnx
RE: Nub Question - Details View Visibility
am 08.01.2008 00:05:00 von nemtsev
Refer this question to windows NG, this one is ASP.NET NG
--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour
"randy.buchholz" wrote:
> Been fighting this one for a while, looking for help.
>
> I have a simple page with a grid view and details view (just managing a
> single table). The details view is primarily used for creating new records,
> and the grid for display. Everything works fine unless there are no records
> in the table. In this case the details view does not show, so there is no
> way (for a user) to enter the first record unless I set the default mode to
> Insert. I can work around by playing with the default mode, but that just
> seems messy and over complicated. Is there a way to force visibility for an
> empty details view? Also, is there a way to switch the details view to
> insert mode without changing/toggling the default mode?
>
> thnx
>
>
>
Re: Nub Question - Details View Visibility
am 08.01.2008 01:19:26 von smar
Why? This is not a Windows quesiton. Maybe the ADO.NET group is better for
this question, but Windows?
"Michael Nemtsev" wrote in message
news:B84D020E-0DE0-4DCA-A4CF-00519024C551@microsoft.com...
> Refer this question to windows NG, this one is ASP.NET NG
>
> --
> WBR, Michael Nemtsev [.NET/C# MVP].
> Blog: http://spaces.live.com/laflour
>
>
>
> "randy.buchholz" wrote:
>
>> Been fighting this one for a while, looking for help.
>>
>> I have a simple page with a grid view and details view (just managing a
>> single table). The details view is primarily used for creating new
>> records,
>> and the grid for display. Everything works fine unless there are no
>> records
>> in the table. In this case the details view does not show, so there is
>> no
>> way (for a user) to enter the first record unless I set the default mode
>> to
>> Insert. I can work around by playing with the default mode, but that
>> just
>> seems messy and over complicated. Is there a way to force visibility for
>> an
>> empty details view? Also, is there a way to switch the details view to
>> insert mode without changing/toggling the default mode?
>>
>> thnx
>>
>>
>>
RE: Nub Question - Details View Visibility
am 08.01.2008 03:25:00 von nemtsev
Sorry, ingor my previous post
I just missed the topic, because there were on non related to
now about the subject.
I would recommed just add empty record programmatically, not to db but just
to binding entry (dataset or whatelse is used)
--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour
"Michael Nemtsev" wrote:
> Refer this question to windows NG, this one is ASP.NET NG
>
> --
> WBR, Michael Nemtsev [.NET/C# MVP].
> Blog: http://spaces.live.com/laflour
>
>
>
> "randy.buchholz" wrote:
>
> > Been fighting this one for a while, looking for help.
> >
> > I have a simple page with a grid view and details view (just managing a
> > single table). The details view is primarily used for creating new records,
> > and the grid for display. Everything works fine unless there are no records
> > in the table. In this case the details view does not show, so there is no
> > way (for a user) to enter the first record unless I set the default mode to
> > Insert. I can work around by playing with the default mode, but that just
> > seems messy and over complicated. Is there a way to force visibility for an
> > empty details view? Also, is there a way to switch the details view to
> > insert mode without changing/toggling the default mode?
> >
> > thnx
> >
> >
> >
Re: Nub Question - Details View Visibility
am 08.01.2008 17:06:36 von randy.buchholz
Thanks, I'll give that a try. I've been adding an "insert" button that
switches the default mode to insert and changes to "done" when in insert
mode. The done switches the mode back to readonly. It just seemed there
should be a cleaner way to do this and that I was missing something.
"Michael Nemtsev" wrote in message
news:FDEC9E12-C818-4129-9601-1E38DD96E36E@microsoft.com...
> Sorry, ingor my previous post
>
> I just missed the topic, because there were on non related to
>
> now about the subject.
>
> I would recommed just add empty record programmatically, not to db but
> just
> to binding entry (dataset or whatelse is used)
>
> --
> WBR, Michael Nemtsev [.NET/C# MVP].
> Blog: http://spaces.live.com/laflour
>