How To Set Table Not To Collapse When I Minimize The Browser In Vb.net
Nov 8, 2010How to set table not to collapse when i make the size of browser smaller ! in vb.net
View 2 RepliesHow to set table not to collapse when i make the size of browser smaller ! in vb.net
View 2 RepliesI am open up the <div id="movMe"> with the ImageButton lnkBtnColHelp and animationextender. The <div> is not visible when I have pressed the button. But if I minimize and maximize the explorerwindow the <div> becomes visible, I do nothing more than that. So it is there but cant be seen.
What does this depend on? I dont know if I need to focus the <div> in somehow. I tried to put a function
moveMe_Clicked() but that did not help. [Code]....
I am creating an ASP.NET web Appivation in which I have added many rows in the table.
When I run the application the table is not displayed, only the rows are displayed.
My question is I want to Expand and collapse the rows since they are large in no.
Here Am Using Table and grid views For Registration.
Am getĀ Collapse and Expand with Table But There No Data Displayed in Grid view (Means it not Showing asp Controls Like Grid view etc).
I just have one quick question concerning WebPart ChromeStates; we have several WebPartZones in a page. Management now has this requirement: all webpart chromestates should be set to Minimized on Page_Load, whatever the last saved state is. In fact, it
is better that it doesn't remember it's saved state at all. Problem is, if we close the page with one or more WebPartZones ChromeState set to Restore / Normal, the next time the page is loaded, it remembers those states. We just wanted it to be minimized
on each page load.
We have already set profile AutoSaveEnabled to False, set each WebPart ChromeState to Minimized on each Page Load via code-behind, Reset Personalization Settings on each page load, and all other things I have researched in the forums, yet, it still retains.it's last state upon browser close. We use IE 6 exclusively, and we are not allowed to upgrade to 7 or 8.
I have my existing web site developed using ASP.NET.
It's college management system. Now I need to redevelop it on MVC2.
What all changes do I need to do?
I am little bit aware of MVC and have done some exercises also.
Thing I know is I can keep my database intact but there will be massive changes at other places.
WHat will be the better way to minimize the changes?
How to develop program/website and minimize DB dependencies using C#.NET? For example I have made some changes in my DB, after that I must rewrite half a project.
View 2 RepliesI am using ADO.NET Entity Framework 3.5 for web service.i want to know how can i caching through it and can minimize database hits?
View 1 RepliesI am in a deep deep trouble because I am trying to use web parts in my project,I have implemnented custom provider for personalization(coz, I am using MYSql as a database).I am using three web part zones and each zone hve more than three controls and whenever I try to drag and drop the parts from one zone to other zone, for the first time the droped element successfuly runs but after then if we again try to drop another element from other zone to this then the already dropped element goes to its original place from where it is dropped,The 2nd problem is that close and minimize verbs are not firing well, e.g if there,My provider personlaization class is as,
[Code]....
and the markup is as,
<form id="form1" runat="server">
<cc3:Script ID="Script1" runat="server" />
<asp:ScriptManager ID="ScriptManager1" runat="server">
[code]...
have a website with MasterPages, on load master page has many database roundtrips and logics implemented.Now, if move to one page to another, the MasterPage get reloaded and all the above mentioned procedures processed again, which again takes a lot of time and as a result my website's response is very slow.For eaxmple, once the default page is loaded, all the child pages can load within the centent area (in ajax style).
tell me some workaround to optimize the site so that it doesn't this procedures repetitively.
We are using Web Part Zones to display certain Charts in our website. In the title of the Zone, we are using the below code to display the menu for Minimize, Refresh and Close buttons.
<CloseVerb ImageUrl="~/Images/Close.png" />
<MenuVerbStyle BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="White" />
<TitleBarVerbStyle CssClass="WPVerbBar" />[code]....
This buttons are working fine in IE and in Firefox. But the same is not working in Chorme and in Safari.We got the below script error in Chrome:
Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'
ScriptResource.axd?d=JgYxHqt6li1Lc12at8VRK-y-qeXK_5Wiei-tKNUi8rRE-1X5EEl-KvYEuW4m8Foj1VyIiaN7sK98_-pMwa5y7w2&t=633802855995006876:277Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'
How would I update a table in a SQL database if/when someone closes their browser after visiting a webpage?I'm manually set-up a table which will be updated when the person logs in; their login time. I have it configured so that if they click on logout, it'll update their log-off time. The issue is that if they just close their browser, I need it to update the table with this time
View 1 RepliesI have asp.net webpart page with close and minimize buttons for the webparts.
These buttons are disappering if page remains idle for 1 hour
I am just started development in ASP.NET.
I have created one sample application for WebParts. It is working fine when I run it from Visual Studio or local environment.
But when, I have publish file in IIS virtual directory (in my PC or same PC) at that time it is stop showing Verb tool bar (minimize, close buttons of WebPart).
im using jquery. is there any way to broke the Dialog popup as diamond shape or any other shape?and how to provide minimize and maximize buttons on the dialog?
View 5 Repliesin my asp.net treeview if i click one parent node then it should be extended if i click again on that node it should be collapsed in treeview...
is any javascript availabe for this? or any code in selected node changed?
I have a updatepanel and div within it. I want to collapse and expand the panel/div on image button click. I tried 3 options
1. Collapsible panel: This is not smooth it closes and opens in intervals bit by bit
2. Accordian: I tried using it in a simple example which worked fine but it didnt work in the project. In the div there are many nested divs and updatepanels. is this a reason that it didnt work in my project?
3. Giving a image button and writing code in cs file on button clickevent to display:none/block the div.
Option 3 worked, but on click of the image button, the button shifts or the background panel shifts the position, hence the panel and image button are not inline(not in the same position as before)
Also, since we are using ASP.NET 3.5 and Ajax, option 1 or 2 looks good but they are not working as expected.
Using a LINQ query and an aspx page with an Infragistics webdatagrid control, I am generating data that look like this:The data come from my dataset: There is another column which is TobaccoUse and it is N, Y, N, Y, N, Y, etc for each row. There is also a column for the rate, and it is 147.32 for all rows (test data). But it could and most likely will, especially as the ages increase, be different, like $250 for a 25-year-old smoker but $200 for a 25-year-old non-smoker.
The grid I want to present needs to collapse every two rows into one, so you see one row for 0-17 smoker and non-smoker, etc. I do not know how to write this query. I don't actually know how to write any LINQ query but I've enhanced some existing ones, or understood them, but it's easier to read something that exists than write it new or change it dramatically, which I believe I need to do.
The query right now is:
Code:
var medRateBook = from rates in dsMedRateBookRates.Tables[0].Rows.Cast<DataRow>()
select new
{
DivisionNum = div.DivisionNbr.Trim(),
Age = rates["agedesc"].ToString().Trim(),
TobaccoRate = rates["calcratePreferred"].ToString().Trim(),
[code]....
I'm new to the Ajax Control Tool Kits and I was trying to use the accordion control which is cool according to
its sample.
I followed this video tutorials, however after I created the simple demo, the accordion control doesn't collapse or expand. It just didn't respond to my clicks.
Following is my code and I've trimmed is as simple as possible.
[Code]....
In the first column of a repeater control, I have placed the following
<asp:Image ID="myImage" runat="server" ImageUrl="~/expand.gif" style="cursor: hand;"/>
How is it possible that when I click on this image, then it shows the ~/collapse.gif and vice versa? I think I need to do this in javascript but do not know how?
I added it and when the user clicks on the panel(working as header) then the collapsing/expanding of another panel(working for displaying the content) works great.All of it happens in the client side;i.e;no need of server side code.But now i want to change it a bit.All i want to do is when the mouse curser moves in/out of the panel(which is the header) then the panel(working for displaying the content) should automatically expand/collapse respectively.
View 5 RepliesI am trying to use a treeview control in my application. From the begining I had one parentnode and several childnodes for each parentnode. I wanted to be able to close an opened node when I click on a new one and I maneged that with OnTreeNodeExpanded method.
My problem is that I now need to expand my treeview so it will look something like this:
[code]....
What I want now is:
1. to be able to close an opened parentNode if i click on some other parentNode,
2. if i click on childNode i want to expand it so I can see grandchild,
3. if i click on another childNode for the same parentNode I want that the allready expanded childNode collapses and that the childNode I clicked on to expand.
how's it possible to expand or collapse only one parent node at time. i am using Xmldatasource.
View 7 RepliesI know I can use #region InitialControlsByUIType ... #endregion code outlining or collapse a .cs files codeCould you tell me how to outlining or collapse a aspx page even if I reload the aspx, thanks!I know all the elements (tags) that have a closing/matching tag are collapsable by default, but somtimes it stop collapse automatically when I reload you aspxIn .cs files, the system will never stop collapse automatically when I use #region ... #endregion
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code]...
can we disable postback on expand/collapse of treeview node while allowing post back on SelectedNodeChanged
View 2 Replies