Page 1 of 1

How to use the URL in the program pass value in it?

Posted: Mon Apr 18, 2016 2:30 am
by ZunRen

Hi, please somebody can help me?

I think at the time of initiation of the page URL into the variable values to meet the screening incoming variable data table,
and the new piece of data, there is a default field value of this information is getting passed, will be how do I set it?

Tnks

Example:
xxxlist.aspx?varAA=A111

Request("varAA")

Table/Views → General → Filter
Condition:
"[FDAA] = '" & Request("varAA") & "'"

Add Page → Default Value
Condition:
Request("varAA")


Re: How to use the URL in the program pass value in it?

Posted: Mon Apr 18, 2016 11:36 am
by motfs

You can set the <Field>.EditValue in the Row_Rendered server event, e.g. (C#):

if (CurrentPageID() == "add") {
<Field>.EditValue = ew_Get("xxx");
}