Iām trying to add a query string to the Telerik.Web.UI.DialogHandler.aspx, depending on the on the command executed I want to build the query string. I.E.: if the command is DocumentManager then add ā&cmd=1ā
This is the js function:
function onCommandExecuted(sender,
args) {
var executedCommand = args.get_commandName();
var oldAdditionalQueryString =
sender.get_dialogOpener().get_additionalQueryString();
if (executedCommand == 'DocumentManager') {
sender.get_dialogOpener().set_additionalQueryString() =
oldAdditionalQueryString + "&cmd=1";
ā¦
However when I
check the HttpContext context on my custom file browser, the
query is not showing the new variable (cmd) added:
Ontext.Request.Url.Query
=
?DialogName=DocumentManager&UseRSM=true&renderMode=1&Skin=Bootstrap&Title=Manejador+de+documentos&doid=02ebd860-6197-43e3-a6be-01a823e70056&dpptn=&isRtl=false