SQL Reporting :: Why Is It Necessary To Use ScriptManager Control / Finding Alternative

Jan 19, 2011

I am working on a Report Module for a DNN website and have found that the reports do not show in the reportviewer control if there is no ScriptManager control on the module. I am not sure where but somewhere I read it was needed. THe problem is when it is on the module so the reportviewer works correctly I am getting some errors with my other controls( mainly drop downs I want to use for selecting the reports) I am not getting an error just the DDL is not showing up on the page when scriptmanager is included but it does show up when its not included of course then the reportviewer shows no report.

View 6 Replies


Similar Messages:

Finding Alternative To DataPager

Jan 24, 2010

I am using a datapager on a page where different images are shown. Now i am using the following code:-

PHP Code:

<asp:DataPager ID="DataPager1" runat="server"
PagedControlID="lvPhotoViewer" PageSize="1"
onprerender="DataPager1_PreRender">
<Fields>
<asp:NextPreviousPagerField ButtonType="Link"
PreviousPageText="<< Previous" NextPageText="Next >>"/>
</Fields>
</asp:DataPager>

Now this code does run through all the images, but i need to alter the querystring and make it change to match the ID of the photo displayed. I tried adding QueryStringField="String" but this was hopeless.

I have a querystring like so:-

Quote:

[URL]

When i click on next image i need it to change to something like:-

Quote:

[URL]

See the PhotoID has changed. But it currently does not do this. When i arrive on the page the PhotoID stays the same. I have been trying for a while and im starting to give up!

So was wondering if there was an alternative.

View 3 Replies

Archive File Search - Finding Alternative

Sep 2, 2010

I am developing a new project to list files and directories under an specified location on disk. I use normal methods like Directory.GetFiles() to achieve this task but the amount of files is getting very big (> 300000) and the site is becoming terrible slow.

I worked with Index server with previous versions of Asp.Net but I was wondering if there is a new way for my website running Asp.Net 4.0.

Also I heard something about Index Server is obsolete to achive file listings and search. Is there any new alternative?

View 2 Replies

VS 2008 Finding Alternative To Crystal Reports

May 1, 2010

Is there any alternative of Crystal Reports. I dont want to use it....Crystal Reports are just useless,But I didnt get any other alternative!

View 4 Replies

C# - Finding Session Alternative In Global Scope?

Feb 24, 2011

Quick question: Is there a "per-user" data storage object (similar to Session) that I can store data in the global scope (similar to HttpRuntime.Cache)? Almost as if Session and HttpRuntime.Cache had a baby.

Full Background: I have a ASP.NET website that was originally written for a single thread. Now I changed it so that certain actions will spawn a background thread and the browser polls a service to get status updates.

The problem I am having with this is that certain pieces of data are stored into the HttpContext.Session[] object (membership authentication token, for example). These pieces of data need to be unique to each user and accessible to the background thread. Session is not available to the background thread.

I am aware of HttpRuntime.Cache but that would require micromanagement to segment out the users and to expire it at the same time the session is expired. Session, on the other hand, automatically expires this things at the right times that I want it too and is already used by things like the SqlMembershipProvider.

My question is, is there something that behaves similar to the Session but exists in the global scope?

View 3 Replies

Finding Alternative Method For Uploading Files

Mar 17, 2010

In uploading files and determining their length, I want to know if there is any alternative to

<code>
file1.PostedFile.ContentLength
</code>

It seems that this quantity is counted up as the actual uploading is taking place.

Once the customer has selected his file-to-be-uploaded and put it in the textbox, is there any

other way for my script immediately to say "This file is 5 Mb and it is therefore too big" ?

View 1 Replies

MVC :: RouteValueDictionary For HtmlAttributes In HTML Helpers - Finding Alternative

Jun 2, 2010

MVC 1.0 source has code like

[Code]....

Was RouteValueDictionary intended for use with htmlAttributes? Is there an alternative? The only 'feature' RouteValueDictionary looks like its got is it has a constructor which accepts an object.

What should I be using in custom helpers?

View 2 Replies

VS 2008 How To Manage Complex State Management / Finding Alternative

Dec 10, 2010

How are you all managing your web page state?

Anyone using complex database methods - so that a user can pick up a web experience that might have accidentally been left?

Anyone doing any complex state management for internal (INTRANET) sites? Where authentication is not an issue?

I'm looking for alternatives to simple SESSION() vbls.

View 6 Replies

VS 2005 Finding Alternative To Declare Output Cache In All 200 Pages

Jan 20, 2010

I create a menu control in a user contol, named as RightUserrControl.ascx.

and i kept this RightUserrControl.ascx in nearly in 200 pages.

every thing is working fine , but when ever i am going to any page the page loading is very slow, nearly each page is taking 1 minute to load.

set caching for the user control, if this is the case , do i need to declare output cache in all 200 pages or is there any alternative way to resolve this issue.

View 8 Replies

Creating Dynamic DataList Controls With ID's Based On Bound Data - Finding Alternative

Jun 28, 2010

As a workaround for the fact that asp:Checkboxes don't have values, I am attempting to dynamically create the ID's of checkboxes in a DataList so that it inserts the primary keys into the control ID. This is surprisingly difficult.

I have placed a PlaceHolder in my DataList ItemTemplate, then in the ItemCreated I create the checkboxes using string.Format("Checkbox{0}", DataBinder(e.Item.DataItem, "ID")). The problem is that this only works in a non-postback condition, as on postback the DataItem is null. And of course ItemDataBound isn't called on PostBack so that won't work either.

I can't seem to find a good way to handle this short of if (IsPostback) dataList.Bind(), which i don't think is a good way to do it.

Can anyone provide me with any alternatives here?

View 1 Replies

AJAX :: Modal Popup Extender And Link Button In Item Template Of GridView - Finding Alternative

Jun 25, 2010

In my Application I am using one Modal popup extender. I have one Grid View with Item Template containing Link button. I want to set Target Control Id of Popup extender to link Button of the Item Template. As it is inside the Item Template I can not access it directly in the page.

So Is there any alternative to achieve the same functionality.

View 1 Replies

SQL Reporting :: Set Alternative Background Color Of A Column In Matrix?

May 25, 2010

I am using SSRS 2008. Can someone let me know how to set alternative background color of a column in matrix

View 2 Replies

Web Forms :: FindControl("id"); Does Not Work - Finding Another Alternative?

Jan 4, 2011

I have a problem with selecting a control from codebehind.

This is my scenario:

1. i get a string from a webservice (session): string boxstring = "<input type="text" id="MainContent_TextBoxStopRoadName01" name="ctl00$MainContent$TextBoxStopRoadName01">";

2. i insert this string to a <div id="boxcontainer"> from codebehind like this:

boxcontainer.InnerHtml=boxstring;

3. Page loads

4. User types text in the box, and clicks a button to submit it

5. How do i find this textfield from codebehind from its id? I would like to get the field as an TextBox control, but the text value is the most important.

I´ve tried several things, like Findcontrol("id") and Findcontrol("id").Findcontrol("id") and so on. But it doesent work.

Another thing does work though, if instead of a string I create the textfield as an TextBox control, and then insert it: BoxContainer.Controls.Add(TextBox); - then it works! But it is not a possible solution in my situation. I only have the textbox (among many other elements) in a string.

View 4 Replies

Finding A Dynamic Reporting Tool?

Jan 23, 2010

I'am looking for a dynamic reporting tool for Asp.Net. Tool should support drag drop of data fields, simple grouping and simple expressions. Actually end users will use this tool for data listing. Rendering to html and pdf is enough.

View 2 Replies

SQL Reporting :: Finding The Data Within A Particular Range

Sep 6, 2010

I need to create a report that will show the list of data that is within that range of period. The scenario will be:

- the user will choose the starting month and the ending month from a drop down list. (for example, starting month = July and ending month = September)

- then the report will be showing all the data within that range of month chosen by the user. (data from July until September will be shown, including data from the month of AUGUST)

- the problem I'm having is that when I choose the starting month and ending month as shown above, I only get the data from the month of JULY and the month of SEPTEMBER, the data from month of AUGUST will not be shown.

View 2 Replies

AJAX :: UserControl With ScriptManager And UpdatePanel, Some Pages With ScriptManager?

Feb 8, 2011

I have a user control with both an UpdatePanel and a ScriptManager.

Some pages in the system have a ScriptManager of their own, and need to include the UserControl.

This throws the "You can only have 1 ScriptManager" exception.

If I remove UserControl's ScriptManager, I'll get 'UpdatePanel1 requires a Script Manager" exception.

I've tried to modify the UserControl to dynamically include it's own script manager if none exists. But all the methods I've used before involve adding a delegate to Page.OnInit-- which won't work, since the UserControl Init fires first.

Because the system designers here like making my life difficult, I can't create a MasterPage, or a BasePage for the system in inherit off of. I'd be stuck going to each page an adding a ScriptManager before the UserControl on each of them. Is there any way of, in the UserControl, detecting if the page has a ScriptManager, and if not, adding it dynamically in a way that makes the UpdatePanel happy?

View 3 Replies

AJAX :: What Is Role Of Scriptmanager Control And Updatepanel Control

Jan 7, 2010

What scriptmanager control and

updatepanel control role if we add this control to web page

and when we use triggers with update panel control.

View 2 Replies

C# - Any Alternative To Xmldatasource In Menu Control?

Feb 11, 2011

my code is as follows

DataSet ds = new DataSet();
string connStr = "Data Source=PARITAS00024;Initial Catalog=MenuDb;Persist Security Info=True;User ID=sa;Password=paritas123";
using (SqlConnection conn = new SqlConnection(connStr))
{
string sql = "Select MenuId, MenuTitle, MenuDesc, MenuURL, ParentMenuId from tblMenus where Status=1 and RecordStatus=1 order by ParentMenuId, DisplayOrder";
SqlDataAdapter da = new SqlDataAdapter(sql, conn);
da.Fill(ds);
da.Dispose();
}
ds.DataSetName = "Menus";
ds.Tables[0].TableName = "Menu";
DataRelation relation = new DataRelation("ParentChild", ds.Tables["Menu"].Columns["MenuId"], ds.Tables["Menu"].Columns["ParentMenuId"], true);
relation.Nested = true;
ds.Relations.Add(relation);
System.Web.UI.WebControls.XmlDataSource xds = new System.Web.UI.WebControls.XmlDataSource();
xds.TransformFile = "~/TransformXSLT.xsl";
xds.XPath = "MenuItems/MenuItem";
xds.Data = ds.GetXml();
xds.ID = "xmlDataSourceMenu";
Menu1.DataSource = xds;
Menu1.DataBind();

is this correct way of using the xmldatasource ?

View 1 Replies

How To Construct A Control Like The ScriptManager

Jan 25, 2010

Maybe this is not the best title to it, but this is what I am trying to find out. I need a way to construct a control in ASP.Net that mimics the ScriptManager in that it should look like this:

[code]....

How to make the Control have a List of items that you can add items to from the Source of a page.

View 1 Replies

SQL Reporting :: Microsoft Chart Control And SQL Server 2005 Reporting Services?

Jan 7, 2010

Any one used Microsoft Chart Control in SQL Server Reporting Service reports? Specifically the 2005 version?

View 3 Replies

SQL Reporting :: Print Control Works On Reporting Server But Not In Embedded In Application?

Sep 14, 2010

I am having an issue where if I click on the print icon in the report viewer embedded in an application, I get the error "unable to load client print control". However, when running through report manager, this is fine. I am running SQL Server 2005 SP3 and report viewer 9.

View 1 Replies

C# - Alternative To OverLibWrapper For Displaying Control Tooltips?

Oct 13, 2010

I looked into a nice way to display tooltips dynamically and I found OverLibWrapper, which was exactly what I needed.

I have all the tooltip data stored in a custom configuration section, the tooltips are bound to their respective controls during Page_Load.

I did a quick test and worked fine. The problem came up when I realized that OverLibWrapper didn't work on masterpages. Our website has uses quite a few masterpages, so taking them out isn't an option.

I was wondering if there's anything like OverLibWrapper that I could use.

EDIT:

What I'm looking for is a control to display good-looking tooltips on mouseover preferably instantly like overlib (nothing fancy because I'm just displaying raw text) in a dynamic way, because the tooltip property in ASP.NET is not very pretty and takes a while to appear. For example let's say I have a collection of Messages:

class Message
{
string ctrlid, msgtodisplay;
}

And when the page is loaded:

TooltipManager manager;
foreach(var m in messages)
{
Tooltip tltp=new Tooltip;
m.ControlID=m.ctrlid;
m.Message=m.msgtodisplay;
manager.AddTooltip(tltp);
}

So basically something that offers the functionality of Tooltip and TooltipManager.

View 2 Replies

Is It Possible To Put A ScriptManager Control In A Content Page

May 25, 2010

Is it possible to put a ScriptManager Control in a Content Page?I've tried inserting a ScriptManager, UpdatePanel, and ContentTemplate within the ContentPlaceHolder1 of one of my pages and it's not working.

View 12 Replies

AJAX :: Behind The Scenes Of ScriptManager Control

May 30, 2010

Can anybody explain why cant you have more than one scriptmanager control in a page. Why gets emitted in the markup which creates a problem with two scriptmanager control on the page.

View 3 Replies

Web Forms :: Multiple Tag Appearing - User Control Alternative

Nov 17, 2010

I have user control page (.acsx file), which has following

<form action=abcd.aspx id="safsdf">
<input name="q" type="text" value="Search this site" size="13" onfocus="this.value='';"/> //this is input box
<input type="submit" name="sa" value="Submit" />
//this is input button </form>

When user click on submit button, then it postback to same page. I have another page , which reference to this user control and that is why multiple <form> tag appears on one single page and it cause my webpage to layout incorrectly. I would like to remove <form> tag from my above user control and replace with some other alternative, which does postback to same page without using <form> tag on user control (I have to remove <form> tag from user control because I must keep my <form> tag on other page).

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved