Ask a Question related to Dreamweaver AppDev, Design and Development.
-
j289243 #1
ASP.NET QueryString confusion?
Hi
My Stored procedure command currently uses the SuccessUrl to go to a new page
and pick a QueryString after UPDATE as follows: SuccessURL='<%#
"prop_LIST.aspx?section=" & Request.QueryString("section") %>'
Does anybody no how to enable the above to pick up 2 QueryStrings?
I keep getting errors no matter what i do
Please help
Regards
J
j289243 Guest
-
RRD confusion
I've been using a script called weathergraph on a FreeBSD box for years. Last week I upgraded the machine, and the script stopped working. One of... -
emf confusion
Can anyone tell me what has happened in the settings of Freehand 8 when this problem occurs: Whereas FH drawings that were made months ago, and... -
Net Confusion
It should work, but this problem is notorious to VS.NET. See... -
CD/RW Confusion?
I need a primer on writing to a CD/RW disk. My current drive supports CD/RW disks, but for some reason I keep getting error messages when I try to... -
eps confusion
FH has the ability to edit some EPS file, but not all. In fact eps files FH exports are not editable unless you check "Include Freehand". If you have... -
j289243 #2
Re: ASP.NET QueryString confusion?
UPDATE:
I thought i would post my findings for any other unfortunate with a similar
issue.
SuccessURL='<%# "prop_LIST.aspx?section=" & Request.QueryString("section") &
"&DataShaper1Page=" & Request.QueryString("DataShaper1Page") %>'
The SuccessUrl with multiple Requests does work as long as values exist for
the Request to pick up.
Basicly when jumping to my Detail page the "DataShaper1Page=" value was
nothing when in true terms it starts on 0.
So to fix my problem i sent from the main page to the detail page the
following URL Addition "&DataShaper1Page=0".
I managed to come up with this other piece of code which also works the same
way. It could do with extending with either a default value or basic check to
see if something exists.
<script runat="server">
Sub up_Updated(sender As Object, e As DreamweaverCtrls.UpdatedEventArgs)
dim URL = "prop_LIST.aspx?section=" & Request.QueryString("section") &
"&DataShaper1Page=" & Request.QueryString("DataShaper1Page")
Response.Redirect(URL)
End Sub
</script>
I hope this is helpful
Regards
J
j289243 Guest
-
darrel #3
Re: ASP.NET QueryString confusion?
> My Stored procedure command currently uses the SuccessUrl to go to a new
pageLike this?> and pick a QueryString after UPDATE as follows: SuccessURL='<%#
> "prop_LIST.aspx?section=" & Request.QueryString("section") %>'
>
> Does anybody no how to enable the above to pick up 2 QueryStrings?
Request.QueryString("string1") & Request.QueryString("string2")
FYI, if you are using .net, have you considered just puting the
'confirmation' on the same page? That way you can just pass the data via
postback instead of having to send them off to antoher page and grab
querystrings.
-Darrel
darrel Guest
-
darrel #4
Re: ASP.NET QueryString confusion?
> I managed to come up with this other piece of code which also works the
samecheck to> way. It could do with extending with either a default value or basicAh, yes. In .net, you have to check to see if the querystring even exists:> see if something exists.
If Not Request.QueryString("whatever") Is Nothing Then
'something is there
End If
-Darrel
darrel Guest



Reply With Quote

