Chris Moore
|
Posted: 07/08/2003, 10:32 AM |
|
I have switched my code to start using ASP .NET VB but know I can't figure
out how to hide my grid upon 1st entry into the Search screen. I need to
check the SQL WHERE clause and if it is empty, hide the Grid. My form is
called Dallas and the grid is called Dallas. The page is called Search. Can
anyone help me with this?
Thanks
Chris
|
|
|
DonB
|
Posted: 07/08/2003, 11:14 AM |
|
Give this a shot, Chris.
http://www.gotodon.com/ccbth/Features/Knowledgebase.asp?find=hide
..NET and ASP 3.0 work the same in this regard.
DonB
"Chris Moore" <chris@dblayout.com> wrote in message
news:Xns93B28029EC72Dcabubba@66.180.229.147...
> I have switched my code to start using ASP .NET VB but know I can't figure
> out how to hide my grid upon 1st entry into the Search screen. I need to
> check the SQL WHERE clause and if it is empty, hide the Grid. My form is
> called Dallas and the grid is called Dallas. The page is called Search.
Can
> anyone help me with this?
>
> Thanks
>
> Chris
|
|
|
Chris Moore
|
Posted: 07/08/2003, 12:14 PM |
|
That is what I thought should work but it is erroring off when I publish
it. Here is the error:
Search.aspx.vb(334) : error BC30451: Name 'Dallas' is not declared.
Dallas.Visible = False
~~~~~~
What exactly does that mean? It sounds like it doesn't know my grid is
called Dallas. Line 334 in the ASPX file is: Dallas.Visible = False.
This is frustrating!!!
Thanks for any help you can give.
Chris
"DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> wrote in
news:bef1lc$ck7$1@news.codecharge.com:
> Give this a shot, Chris.
>
> http://www.gotodon.com/ccbth/Features/Knowledgebase.asp?find=hide
>
> .NET and ASP 3.0 work the same in this regard.
>
> DonB
>
>
>
> "Chris Moore" <chris@dblayout.com> wrote in message
>news:Xns93B28029EC72Dcabubba@66.180.229.147...
>> I have switched my code to start using ASP .NET VB but know I can't
>> figure out how to hide my grid upon 1st entry into the Search screen.
>> I need to check the SQL WHERE clause and if it is empty, hide the
>> Grid. My form is called Dallas and the grid is called Dallas. The
>> page is called Search.
> Can
>> anyone help me with this?
>>
>> Thanks
>>
>> Chris
>
>
>
|
|
|
Chris Moore
|
Posted: 07/08/2003, 12:19 PM |
|
It appears that the code should be "DallasRepeater.Visible = False". Any
idea why I have to add the 'Repeater" part?
Thanks for the help.
Chris
Chris Moore <chris@dblayout.com> wrote in news:Xns93B29154D588Ccabubba@
66.180.229.147:
> That is what I thought should work but it is erroring off when I
publish
> it. Here is the error:
>
> Search.aspx.vb(334) : error BC30451: Name 'Dallas' is not declared.
>
>
>
> Dallas.Visible = False
>
> ~~~~~~
>
>
>
> What exactly does that mean? It sounds like it doesn't know my grid is
> called Dallas. Line 334 in the ASPX file is: Dallas.Visible = False.
>
> This is frustrating!!!
>
> Thanks for any help you can give.
>
> Chris
>
>
>
>
> "DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> wrote in
>news:bef1lc$ck7$1@news.codecharge.com:
>
>> Give this a shot, Chris.
>>
>> http://www.gotodon.com/ccbth/Features/Knowledgebase.asp?find=hide
>>
>> .NET and ASP 3.0 work the same in this regard.
>>
>> DonB
>>
>>
>>
>> "Chris Moore" <chris@dblayout.com> wrote in message
>>news:Xns93B28029EC72Dcabubba@66.180.229.147...
>>> I have switched my code to start using ASP .NET VB but know I can't
>>> figure out how to hide my grid upon 1st entry into the Search screen.
>>> I need to check the SQL WHERE clause and if it is empty, hide the
>>> Grid. My form is called Dallas and the grid is called Dallas. The
>>> page is called Search.
>> Can
>>> anyone help me with this?
>>>
>>> Thanks
>>>
>>> Chris
>>
>>
>>
>
>
|
|
|
Shawn Mason
|
Posted: 07/08/2003, 4:22 PM |
|
Because CCS does not use the datagrid component but the repeater control.
--
Regards,
Shawn Mason,CCD,MCP
I.S. Software Design Associates
"Chris Moore" <chris@dblayout.com> wrote in message
news:Xns93B29240AD865cabubba@66.180.229.147...
> It appears that the code should be "DallasRepeater.Visible = False". Any
> idea why I have to add the 'Repeater" part?
>
> Thanks for the help.
>
> Chris
>
>
> Chris Moore <chris@dblayout.com> wrote in news:Xns93B29154D588Ccabubba@
> 66.180.229.147:
>
> > That is what I thought should work but it is erroring off when I
> publish
> > it. Here is the error:
> >
> > Search.aspx.vb(334) : error BC30451: Name 'Dallas' is not declared.
> >
> >
> >
> > Dallas.Visible = False
> >
> > ~~~~~~
> >
> >
> >
> > What exactly does that mean? It sounds like it doesn't know my grid is
> > called Dallas. Line 334 in the ASPX file is: Dallas.Visible = False.
> >
> > This is frustrating!!!
> >
> > Thanks for any help you can give.
> >
> > Chris
> >
> >
> >
> >
> > "DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> wrote in
> >news:bef1lc$ck7$1@news.codecharge.com:
> >
> >> Give this a shot, Chris.
> >>
> >> http://www.gotodon.com/ccbth/Features/Knowledgebase.asp?find=hide
> >>
> >> .NET and ASP 3.0 work the same in this regard.
> >>
> >> DonB
> >>
> >>
> >>
> >> "Chris Moore" <chris@dblayout.com> wrote in message
> >>news:Xns93B28029EC72Dcabubba@66.180.229.147...
> >>> I have switched my code to start using ASP .NET VB but know I can't
> >>> figure out how to hide my grid upon 1st entry into the Search screen.
> >>> I need to check the SQL WHERE clause and if it is empty, hide the
> >>> Grid. My form is called Dallas and the grid is called Dallas. The
> >>> page is called Search.
> >> Can
> >>> anyone help me with this?
> >>>
> >>> Thanks
> >>>
> >>> Chris
> >>
> >>
> >>
> >
> >
>
|
|
|
Chris Moore
|
Posted: 07/09/2003, 8:23 AM |
|
I wonder why CCS calls it the DataGrid then and not the Repeater control?
Seems confusing to me.
Thanks.
Chris
"Shawn Mason" <shawn@issda.com> wrote innews:befjnc$4ks$1
@news.codecharge.com:
> Because CCS does not use the datagrid component but the repeater control.
>
>
|
|
|