View Complete Post
I have an SSRS report. I created it using BIDS and it uses a Sql Server Analysis Service data source. The data source query is an MDX query with one parameter: @region, a default value has been set for this parameter. The value which @region takes looks like [USA].[Northeast].[New Hampshire].[Coos County].
The MDX query goes like this:
This report runs properly inside BIDS or through web browser after deployment. In my report manager at http://localhost/Reports, I am able to view this report by selecting the value for the @region parameter from a dropdownlist, which contains such values as
Coos CountyCheshire CountySullivan CountyStrafford County... ...
I know that we can pass query parameters to SSRS through the URL. I have successfully done so with relational database which uses regular SQL. But, I have not succeeded in passing this @region parameter of my MDX query through the URL.
I tried the following:
I have a complex customized list and I need to pass parameters of two fields so that when the 'Questionnaire' is completed and subsequentially opened after initial submission, it will retrieve the Number and GUID automatically in respective
ANY HELP is APPRECIATED!!
getQuerystring('CustodianGUID', 'ctl00_m_g_d08916d8_7224_4665_be72_2de381f45985_ff46_1'); ///replace
customerGUID and form field name
'ctl00_m_g_d08916d8_7224_4665_be72_2de381f45985_FormField11_ctl00_ctl00_TextField'); ///replace customerGUID
and form field name
function getQuerystring(key, field)
key = key.replace(/[\/,"\\\[").replace(/[\]]/,"\\\]");
var regex = new RegExp("[\\?&]"+key+"=([^&#]*)");
var qs = regex.exec(window.location.href);
document.getElementById(field).value = qs;
Currently I am storing my username and password (passwordFormat="SHA1") credientails in my web.config. I would like to figure out how to access them in an xml file that I have stored in my App_Data directory rather than the web.config file because I do not want my application restarting everytime I manually add a user (small list of 5 authorized users for the CMS section).
Here is what my web.config section looks like:
<authentication mode="Forms"> <forms name=".Administration" loginUrl="~/SiteAdmin/Default.aspx" defaultUrl="~/SiteAdmin/Administration/Default.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" &n
here is login form I would like to use.
Right now it is not communicating with my codebehind page.
How do I modify the jquery login code to post the username and password to the codebehind?
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="styles/chop1.css" />
<!--[if IE 6]>