Ask a Question related to Dreamweaver AppDev, Design and Development.
-
jefreywith1f #1
Show Region & ASP.NET forms
Using ASP.NET VB. I have a form generated through the insert record wizard. It
works OK, but I want to prevent users from submitting the form depending on a
session variable. However if I wrap "show region if data set is empty" around
all or part of the form i get an error in the browser e.g. Compiler Error
Message: BC30451: Name 'area_choice' is not declared.
line 398 is highlighted
Line 396: <ContentsTemplate>
Line 397: <p>blah blah blah</p>
Line 398: <p><% area_choice.SelectedIndex =
area_choice.Items.IndexOf(area_choice.Items.FindBy Value("")) %>
Line 399: <asp:dropdownlist id="area_choice"
Line 400: DataSource="<%# dsTopicAreas.DefaultView %>"
there's nothing perculiar about area_choice - it's just the first
asp.dropdownlist in the form
Geoff
jefreywith1f Guest
-
I know we can set max image width, but I need to set itby region. Region A has one max width; Region B another.
We can already set a maximum image width for use globally, throughout every page. Can we do it by region? This way one region can have a max... -
Flash forms don't show in ColdFusion 8
I am not getting the display of <cfform format="flash" in a new installation of ColdFusion 8 on Windows 2003 server. Is there some setting, extra... -
Show region if recordset is not empty
Hi? How can I make server behavior for this?: If Diet field empty in the food table,Don?t display Diet word in the Page <% If Not Food.EOF... -
Flash forms do not show up inside html table
Will the cf 7.0 Flash forms show up inside a table?? If I surround any flash form with a simple set of table tags (<table><tr><td></td></tr></table>... -
ASP.NET C# - Show Region if NOT Empty Value in Field
Using MS SQL Server 2K; DW MX2004 I have a phone list stored procedure that returns all of the data I need. The problem is that for a lot of... -
Paul Whitham TMM #2
Re: Show Region & ASP.NET forms
You would be better to disable the button rather than trying to wrap the
form.
Basically what happens in that when a page is called all of the code that is
part of an onload event, or not defined in a function gets checked.
--
Regards
Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
[url]www.valleybiz.net[/url]
Team Macromedia Volunteer for Ultradev/Dreamweaver MX
[url]www.macromedia.com/support/forums/team_macromedia[/url]
"jefreywith1f" <webforumsuser@macromedia.com> wrote in message
news:d4t04o$mm4$1@forums.macromedia.com...wizard. It> Using ASP.NET VB. I have a form generated through the insert recordon a> works OK, but I want to prevent users from submitting the form dependingaround> session variable. However if I wrap "show region if data set is empty"> all or part of the form i get an error in the browser e.g. Compiler Error
> Message: BC30451: Name 'area_choice' is not declared.
>
> line 398 is highlighted
>
> Line 396: <ContentsTemplate>
> Line 397: <p>blah blah blah</p>
> Line 398: <p><% area_choice.SelectedIndex =
> area_choice.Items.IndexOf(area_choice.Items.FindBy Value("")) %>
> Line 399: <asp:dropdownlist id="area_choice"
> Line 400: DataSource="<%# dsTopicAreas.DefaultView %>"
>
> there's nothing perculiar about area_choice - it's just the first
> asp.dropdownlist in the form
>
> Geoff
>
>
Paul Whitham TMM Guest
-
jefreywith1f #3
Re: Show Region & ASP.NET forms
Many thanks for the advice, Paul
Geoff
jefreywith1f Guest



Reply With Quote

