Web Forms :: Two Copies Of Same Web Part On One Web Page?
Mar 24, 2011
I have two copies of the same web part on one web page. When someone clicks the a button one of the web parts, the event, at times, seems to be firing on the web part that they did not click on. I can reproduce it with 100% accuracy. Is that possible? If so, how do I prevent that from happening?
View 1 Replies
Similar Messages:
Sep 2, 2010
I have an aspx page that retrieves and processes an image based on a query string.The whole operation takes about 2-3 seconds. However as the nature of the images means they are quite static,a 5 min (or even 5 hour) delay in picking up an updated image is acceptable. Because of this delay I would like to cache the response and only do a proper refresh only periodically. I have added the following to the top of my aspx page. <%@ OutputCache Location="Any" Duration="600" VaryByParam="*" %> Only the last request appears to be cached - i.e. f I navigate to ../DisplayImage?ImageId=1Then the page is loaded and Image 1 displayed - subsequent requests are cached.If I navigate to ../DisplayImage?ImageId=2 subsequent requests are cached. However if I go image 1, image 2, image 1 then no caching occurs.
I'm wondering if i'm missing something obvious or does IIS7 / ASP.NET just not support this type of caching.
View 1 Replies
Nov 16, 2010
using crystal report in VS 2005 C#. I want to print multiple copies(3) of a same report in a single page. Is is possible.
View 1 Replies
Sep 3, 2012
I have four columns in database. Consider it as a,b,c and d. I'm trying to place a and b column values in TO part and c and d column values in CC part in outlook. a,b,c,d contains six digits numeric values. I just need to place a and b columns values in to and c and d values in cc part on click of a button.
View 1 Replies
Nov 5, 2010
I am developping a ASP.Net webpage. I want to include a part (<div>) of another page (ex: google.com) into my page.
How can it be done?
View 2 Replies
Oct 14, 2010
i have designed a rdlc file with a few text boxes and given the dataset and defined the parameters in it. now my requirement is that in my report form i have a text box if the user enters a number say "2" or more that should dynamically generate two or more copies in the same rdlc.
View 1 Replies
Sep 2, 2010
"How to postback the particular part of a page in ASP.Net"?
For Example:
If I am having a page and suppose I have divided it into 2 sections. In the first section I have placed a User Control related to Weather Forecast and in the 2nd section of the web page I have placed a Currency Converter user control.
In this scenario, if the user uses the Currency Converter User Control I don't want the entire page to get postback, I want only that particular section of the page to get postback.
View 5 Replies
May 12, 2010
I develop a project so, i want crystal report for printing at a time 100 copies print
View 4 Replies
Aug 17, 2010
I have a page(a.aspx) which is under master page(m.mst). I have got another page in name b.aspx which is also under master page "m.mst". Now i want popup a.aspx from b.aspx on some button click. But in the popup(a.aspx), i do not want the master page features.
Is there any way i can detatch the master page from the page, or i have to recreate it without the master page?
View 3 Replies
May 3, 2010
I have a website with a home page using web parts and can be personalized. One thing that we need is to track the usage of each web parts i.e. How many users are using each web parts.
When I go to check in the database, there the whole Personalized page is saved as a Binary Data. The info regarding each webparts is not saved.
View 2 Replies
Aug 19, 2010
I have a page with two columns. Initially, the left column will contain a list of links that are article titles. Clicking on one of the links will display the text of the article in the right column, keeping the list of titles in the left column. Clicking on another title will clear the text of the first article and display the second. Is there a way to accomplish this without having to repaint the whole page? I would rather not have the whole page resent each time a title is clicked, but rather have the page stay as is and only the contents of the right column get cleared and redisplayed. I assume there's a way to do this with JavaScript.
View 5 Replies
Sep 13, 2010
i want design of page like this. At the top of page is first level of menu - Main Categories. On the right site of the page is submenu (level 2). Can i achieve this with bult-in component like Menu control and sitemap file? I want to try create menu this way.
View 13 Replies
Nov 17, 2010
I have a panelA with a drop down list (ddl1) and a panelB with 2 dropdown lists (ddl2 and ddl3).
I am disabling PanelB in the page_Load section. When a selection has been made in the ddl1 in panelA, I am enabling panelB in OnSelectedIndexChanged event to enable ddl2 and ddl3.
This process is working, but as soon as I make a selection on ddl1, the whole page reloads to enable ddl2 and ddl3, which feels odd. How can I make it just reload panel3 not the whole page? I guess it can be done using AJAX update panel but as soon as I put <%@ Register Assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxtoolkit" %> and <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>, I start getting wierd error: Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'Object' cannot be converted to type 'Array'.
Parameter name: array
View 4 Replies
Feb 28, 2010
We have a row of aspx code that lists employees and hours worked and total hours. The text is quite simple and uses ajax to update the entries when the user selects a control for employees or enters hours worked on a particular project.
Currently, we have "hard coded" these lines of code. It works fine, but is quite tedious to change when requested. The difference between row1 and row2 is minimal. Just some control name differences such as
dlEmployees1 and ddlNrOfHoursWorkedRow1Col1, ddlNrOfHoursWorkedRow1Col2, ddlNrOfHoursWorkedRow1Col3, ..., lblTotalHoursRow1
on one row, and then
dlEmployees2 and ddlNrOfHoursWorkedRow2Col1, ddlNrOfHoursWorkedRow2Col2, ddlNrOfHoursWorkedRow2Col3, ..., lblTotalHoursRow2
on the next row. Etc.
Our first goal is to re-write one of these lines into something like an array that can be similar to dlEmployees[j], ddlNrOfHoursWorkedRow[j]Col1 and lblTotalHoursRow[j]
so we can add and reference the different drop down boxes in the c# code.Below is the actual code for 2 lines (sorry for the long post).
==================== code follows for 2 sample lines =====================
<!-- Drop Down Lists for Employee Names (1st Employee Row) (Row Nr 7 of Table) -->
[code]....
View 3 Replies
May 24, 2010
Let's say you had a page like an eBay auction, where some of the content (top bidder, bids, history, etc) needed to be up to date but other sections would likely never change, like the description. I'd like to know the "right" method for getting that static section cached.
The "cheezy" solution would be to code it up in a separate javascript .js file as a bunch of "document.writeln()" calls, but that's plain evil and ugly.
If I made it a Content section of a master page, that might get it cached at the server, but the client has no way to know that this particular section of the page will never change.
I could IFRAME it but I don't always know the dimensions.
I'm sure this has all been done before, and as much as I love my own wheels, I'd rather not reinvent this one :-)
View 2 Replies
Feb 17, 2010
We have several asp.net web applications we've built and we also want to embed them into various sharepoint pages. We need to have them look like standalone applications when viewed in their own pages, but also have them look like they fit within the sharepoint page when embedded. We are doing this currently with IFrames and it works ok, but I'm wondering if there is some sort of proxy web part where we can configure the web part to point to an existing web app and it will proxy the contents through from the web app into the sharepoint page removing the need for an IFrame. Possible?
View 2 Replies
Apr 9, 2010
I m new in web part tools in asp.net, i create a simple page using web part tools, but now i want in my web part zone too open a web site like I Google..
when u use i google there is a functionality to open a web site in web part zone.
View 2 Replies
Mar 2, 2011
When using SPWeb.GetCatalog(SPListTemplateType.WebPartCatalog), it returns an SPList which of course contains a SPListItemCollection of the web parts in the web part gallery. When looping through the items, is there any easy way to get properties of the web parts? Such as AllowClose, CatalogIconImageUrl, etc... I know I can probably accomplish this using the listItem.OpenBinaryStream etc and loading the xml of the .webpart file, but I wondered if there was an easier way to do this.
View 1 Replies
Mar 1, 2011
how to post back some part of page ?
View 3 Replies
Dec 7, 2010
How we can go particular part of the page in ASP.NET & HTML
View 4 Replies
Jul 16, 2011
i have on a page a text box and a button(button1) and another set of text boxes and another button(button2). i have put a requiredfieldvalidator on all the textboxes. what i want to do is that if i click button1, only the first textbox should validate and if i click button2 then only the set of textboxes should validate. right now whether i click button1 or 2 all of the textboxes will validate. i have tried to place the first textbox and button1 in an updatepanel and the set of textboxes and button2 in another updatepanel but still its not working.
View 2 Replies
May 24, 2010
Whats the best way to get the aspx part out of this.Page.Request.Url.
I guess I could use FileInfo but dont think this is the best way.
View 2 Replies
Mar 29, 2011
I'm trying to work on this page that requires me to have a hyperlink/button that, when clicked, should duplicate a section of a page which includes several text fields, radio buttons, a dynamic table (where the user can add rows and edit fields), and the actual link itself. Is this possible? If so, could someone please show me how? :( I'm really stumped on how to do this one.
View 2 Replies
Oct 22, 2010
I've built a page which has an update form, and above that, a photo (based on the same edit). The photo is loaded based on the selected table row being edited.
On this page, I've got a button that opens a modal in an iFrame and allows the user to update just their profile image (all works fine). But when the modal is closed, I'd like to reload JUST the photo (and not the entire page), as it will have changed.
How should I go about doing this? I assume I'll need to use some Ajax controls?
View 2 Replies
Jan 18, 2010
Like normal chat application i have two textboxes one to get text from user and one to display that text. i am using wcf service to provide communication with one user with other. I want to reload only the textbox that contain the entered text by the user not the other controls. i have timer and meta tag but nothing worked.
View 3 Replies