I am using VS 2010 with .Net 4.0.
I am using a HoverMenuExtender to display a text but just after the page is loaded, the popup panel is already displayed.
Any help is appreciated.
View Complete Post
I have a webpage which displays content drawn from a single record in a database table. I've been asked to change this so that the content displayed alternates between 2 records each time the page is requested by a browser (I guess this would equate to each PageLoad event).
The records to be displayed are chosen on the basis of two dates, a beginning date and and ending date, that define a time period in which the record is to be active. The table containing these records has 2 columns containing these dates (begin date is contained in "dtDisplay" and end date is "lastDisplay."
I'm not sure how to amend the existing code behind to make this happen. Here is the c# that I inherited from a developer who is no longer available. Thanks for any help:
private void getfeatured_properties()
string today = DateTime.Now.Date.ToString();
SqlCommand cmd = common.openDatabase();
if (cmd.Connection.State == ConnectionState.Open)
string sql = "select propID from featured_properties where " +
"dtDisplay <= '" + today + "' and " +
"lastDisplay >= '" + today + "'";
A title="Notice and Consent" href="/popup/Notice.aspx" rev="width: 600px; height: 500px; scrolling: no;" rel=lyteframe>Notice and Consent /A
I need to basically launch this href on page load but do not know how to do it in SharePoint. If anyont has a solution for this scenario or an alternative I would greatly appreciate it.
Is there a way to make a modal popup panel active on page load so that the user can't do anything until they deal with the popup dialog?
I developed a page where i m using jquery treeview plugin to generate tree. It worked fine on FF, IE8 with out ajax.
But when my page loads thro' ajax call in IE8, it is not collapsing or expanding tree.
Thanks in advance.
In essence, I am creating Dynamic Checkboxlist controls and adding them to a Panel. It works well when I do not have a Master Page configure to this webpage. Once I have a masterpage congifured.. I get a "Object Reference not set to instance of object" error on the Panel_Control.Controls.Add(Checkboxlistnew) line:
protected void Page_PreInit(object sender, EventArgs e)
XML OXML = new XML();
alistChkBoxLabels = OXML.XMLTransform("C:\\Documents and Settings\..\\Config_new.xml", "config_options/check_box/applications/app/@name");
int count = 1;
alistCheckisFacility = new ArrayList();
alIDTracker = new ArrayList();
while (count <= alistChkBoxLabels.Count)
Checkboxlistnew = new CheckBoxList();
Checkboxlistnew.ID = count.ToString();
Checkboxlistnew.Items.Add(new ListItem(alistChkBoxLabels[count - 1].ToString(), alistChkBoxLabels[count - 1].ToString()));
String sAppName = alistChkBoxLabels[count - 1].ToString().Trim();
alistCheckisFacility = OXML.XMLTransform("C:\\Documents and Settings\\Administrator\\My Documents\\Visual Studio 2005\\WebSites\\User_Trial\\Config_new
iam using master page and i am using update panel in content pages (child pages)
my questions is that can use updatepanel in every child page or master page only.
give ur suggestions, i have senario , in a page i have file upload concept ,updatepanel
is not support that fileupload.
I have 4 different custom page layouts in my publishing site at the site collection level. I have one site named "Services" in site collection. When i create page, i select one page layout from above 4. But when i go to the page settings of that
page to change the page layout of it, i can see only one page layout which this page based on.
Problem is why all the page layouts not listing there? I checked "Page layout and site templates" settings from look and feel of Site Settings, this r set to "Pages in this site can use any layout".
We have a monitoring tool set to check to see if the home pages for our 3 web apps load in under 60 seconds every 10 minutes. All 3 web apps load in under 3 seconds on every 10 minute check except for one exception. One check every
day one of the web app's home page takes longer than 60 seconds to load. This happens at 11:45PM when there is very little user usage on the environment. The characteristics of this page are as follows: The only thing on
the page is a list view web part which was added by the browser. The page has not been customized with SPD or code at all. The list that it pulls is a simple links list that has 281 items on it. The view
pulls all 281 items and displays them in sets of 100. I cannot find any associated event in the server events and/or SharePoint ULS logs nor are there any daily sharepoint timer jobs running at that time. Our full index happens
at midnight with incremental happening hourly. Our enviroment is 2 WFEs, 1 App/indexer and we have a separate SQL cluster backend.
Could someone lead me possibly in the direction I should take next in my troubleshooting?
i am working on a asp.net mvc 2 website who have a area and i have a problem with them.
i use different different url routing for application settings. i have two folder called style
first folder location in main directory /Style/style.css
second folder location in Area area/style/style.css
everything is work fine in application but when i used style.css from main directory in my area's views then style not worked. when i track them from firebug then i got error "The resource could not be found" but path is correct.
sombody tell me to use absolute path to solve this issue. how i can use absolute path to declare resource url in views.
any suggestion , sollution on this issue who can help me to solve this issue.
I'm hoping someone can point me in the right direction re troubleshooting. We have a MOSS server farm - 3 WFE 1 APP 1 SQL cluster. All Server 2008 sp1 x64. We see occasional http timeouts (HttpException (0x80004005): Request timed out) with associated
http 500 error. I have enabled failed request tracing and can see the following:
1. -GENERAL_REQUEST_START 157203 ms
AppPoolId SharePoint - intranet.*********.com80
and then later in the trace:
141. -MODULE_SET_RESPONSE_ERROR_STATUS Warning
HttpReason Internal Server Error
ErrorCode The operation completed successfully. (0x0)
The problem happens on other pages too but the rest of the time the page is returned in less than 5 seconds. The server app logs and sharepoint ULS logs do not give any more detailed info. What I want to know is what other troubleshooting step can I take
for http500 errors.
In the past on 32bit environments I have used de
the app I am working with is made up of three nested master pages that have the following design:
The first master page ha only realize the HEADER, BODY and FOOTER divs.
The second one specialize the Body content placeholder and divide it in three more layers: NAVIGATOR, PAGE TITLE, BODY CONTENT.
The final layer specialize the BODY CONTENT in PAGE CONTENT and ACTIONS.
In one of my content pages I have (inside the PAGE CONTENT area)
The PopupModalExtender can be either triggered from inside the gridView and also from a series of LinkButtons that are in the ACTIONS area.
The problem is that when the PopupModalExtender shows the FOOTER and the ACTIONS areas are not dimmed from the style I apply as background to the modal popup. An example of what I am trying to explain can be viewed in the following screenshot.
Why this is going to happen? Has anybody any suggestion on how to solve this problem?
Thanks a lot
I need an urgent help, when the page is loaded in the explorer, my code will hit the DB and if it fetches a record then I have to throw a pop up window when it loads the page.
I have no idea on implementing this MVC.
Can anyone help with this.
Kindly reply ASAP.