AJAX :: Get Calenderextender To Show In Front Of Controls On The Page?
Mar 26, 2010I can't get my calendar extender to show in front of controls on the page. Don't see a "z-index" capablility. What can I do?
View 5 RepliesI can't get my calendar extender to show in front of controls on the page. Don't see a "z-index" capablility. What can I do?
View 5 RepliesI have calenderextender in my asp.net 2.0 application, I need to show only first date and last date of the month in calenderextender... other dates will be visible false...
View 2 RepliesI am using the CalenderExtender control in my webapplication. I am using AjaxControlToolkit.dll v1.0.10920.1(runtime version 2.0.50727).
The calendercontrols header has a display similar to Month, Year eg, September, 2010.
Is it possible to customize this display to September 2010. i.e. I want to remove the comma between the month and year. This is a business requirement.
In a webform i am building, i need to generate several Textbox and validation controls, that is already done.
However, i also need to generate a calenderextender for one of the boxes...is this at all possible?
i've done a bit of research and have had no luck so far...
i am working with ajax calenderextender plus.the prev and next arrow is displaying in calender but when i clickon arrow it is not working.
my code:
<td style="width:50%; height:20px;" >
<asp:TextBox ID="TextBox1" runat="server" style="width:98%; " TabIndex="2" ReadOnly="true">
</asp:TextBox>
<cc2:CalendarExtenderPlus ID="TextBox1_CalendarExtenderPlus" runat="server" ShowDdlHeader="true"
Enabled="true" TargetControlID="TextBox1" WorkWeekLastDay="Saturday"
ShowArrows="true" Format="dd/MM/yyyy">
</cc2:CalendarExtenderPlus>
</td>
my code behind code is:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
TextBox1_CalendarExtenderPlus.MaximumDate = DateTime.Today.AddMonths(6);
TextBox1_CalendarExtenderPlus.MinimumDate = DateTime.Today.AddMonths(-6);
}
}
CalenderExtender - How to disable or change background color of weekends
Is there a way to do it?
I want to make a slide show on my page, the images are to be fetched from batabaseMYSQL).please help me as i am not able to make it,tried script manager and slideshow extender control but nothing happening
View 16 RepliesI need to code a e-commerce site but about the front end I thought about building a "flowing" menu, how it works is, in the top row you have "Retail" and "Wholesale", if I move my mouse over the retail word I want in the next row, data to be loaded like the main categories if you clicked a category word, then in the 3rd row you get the sub categories then you can click on a subcategory name and then a 4rth row will appear with more subcategories, and so on and on, the reason for this is that the business has alot of sub categories going very deep down,
View 1 Repliesi have user control and in that i have ajax modalpopup extender now, i want to use this modal popup in my aspx.vb page like
modalpopup.show()
modalpopup.hide()
than, how can i get the id of modalpopup from the user control and do this functionality.
I was wondering how to create a front page news function with C# as the language.
Basically I want to be able to use a one of my forums in the category "Site Discussion" called "News" as a way to connect with the front page (homepage) of the site to display a few of the newest news articles each with a title, image, and a short blurb of what the post is about. Also I want them to have a link that connects to the news post in the forums.
***NOTE*** I am using YAF (Yet Another Forum) for my forums.
An example of this from another site is [URL]
As you can see in the above site in the "Today's Top Stories" section it shows 4 news posts (1 main, and 3 other top stories) and if you click on them it links to the news post (which is also accessible via the forums in the news section).
This is basically what I want to incorporate into my site, but using the YAF forums, note an admin console is also needed to do this, I have a serperate admin console that I will set-up for it basically that's when you write it and from there it displays on the front page and in the forums.
I have a Java Script popup messae box that is displayed when an application user first displays the web page. Everything works great, but when the popup displays the background of the screen is white, with the popup in front of it. Instead I would like for the popup to be displayed in front of the web page after it has been rendered with all of the controls on it.
<%@ Page Language="C#" codebehind="Default.aspx.cs" inherits="Colso.Site.Default" masterpagefile="~/Master.Master">
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
StringBuilder sb = new StringBuilder();
sb.Append("<script language='JavaScript'>");
sb.Append("alert('message to client')");
sb.Append("<");
sb.Append("/script>");
ClientScript.RegisterStartupScript(this.GetType(), "PopupSb", sb.ToString(), false);
}
</script>
<asp:Content id="contentPage" runat="server" contentPlaceHolderRoot">
// Controls not shown because I don't want too many lines
</asp:Content>
I seem to be having some challenges with the data I am retriveing from a Webpage using the Webclient class. The code works fine, however I observe that the regular expression is not picking up the negative or positive sign in the Daily_Movement data. For example, a daily movement can be -0.31 or +0.31 but the code is not picking the sign in front of the decimal values.Here is my code
[Code]....
I think where the problem lies is the part of the code Regex r1 = new Regex("<span class="quoteData">.*</span>"); It picks up the values between the tag quite well, but not the signs in front of it. [Code]....
I've watched Joes video on [How Do I:] Use the ASP.NET AJAX Timer Control? I'm trying to do a similar thing but using this control on a Masterpage. I then create Content page from the master, but the banners do not show on this page.
View 6 RepliesI have a table in sql having a numeric data type column,Now i want that whenever user left this field blank from front end aspx page, null value should be inserted in this column from stored proc.How can i achieve this? Also what kind of data type is most appropriate on front end for such taking kind of value?
View 2 RepliesI'm making a page with a DropDownList (called ddlSupp) that contains several suppliers, and I populate it with an SqlDataSource, all in front code.
In another part of the page I make a CheckBoxList, and populate it again with an SqlDataSource. The select command of the SqlDataSource is a procedure call to my MySQL database. However, what the CheckBoxList gets populated with depends on who is selected in ddlSupp. How do I make a variable in front code that will take the value from ddlSupp and populate my checkbox accordingly?
Here is my code:
[Code]....
I get a MySQL error at (<%$ddlSupp.SelectedValue %>) so I know the wrong value is being passed into the query. How can I fix this?
difference between using asp.net validator controls vs JQuery for front end validation? What happens if the user turns off javascript on their browser?
View 3 RepliesI have a question related to <asp:SqlDataSource's SelectCommand. How to pass a querystring like <%# Eval("PhotoID") %> in the selectCommand. The whole frontend code is attached. I put
<%# Eval("PhotoID") %> and the photoid gets printed in the page.
<%# Eval("PhotoID") %> is the current displayed picture's PhotoID.
I want to pass this PhotoID or I want to pass <%# Eval("PhotoID") %> to the select command dynamically. I have tried the following approaches:
1) <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:aspnetdb %>" SelectCommand="SELECT UserName, commentDesc, uID FROM photo_comment_view Where pID = @pID"> <SelectParameters><asp:Parameter Name="pID" DefaultValue="7" /></SelectParameters> </asp:SqlDataSource> The above works but it gives only information about PhotoID 7, but there are other photos; How to set pID's value to <%# Eval("PhotoID") %> in ASP .NET's frontend page? then I also tried,
2) <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:aspnetdb %>" SelectCommand="SELECT UserName, commentDesc, uID FROM photo_comment_view Where pID = <%#'Eval("PhotoID') %>"></asp:SqlDataSource> Gives Parser error: Parser Error Message: The server tag is not well formed.
What I should do so that I can pass current PhotoID to SelectCommand? The frontend code:
<%@ Page Language="VB" MasterPageFile="~/Default.master" Title="Your Name Here | Picture Details"
CodeFile="Details.aspx.vb" Inherits="Details_aspx" %>
<asp:content id="Content1" contentplaceholderid="Main" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="shim solid"></div>
<div class="page" id="details">
<%--Update Panel Here--%>
<asp:UpdatePanel runat="server" ID="updatepanel">
<ContentTemplate>
<asp:formview id="FormView1" runat="server" datasourceid="ObjectDataSource1" cssclass="view"
borderstyle="none" borderwidth="0" CellPadding="0" cellspacing="0" EnableViewState="false" AllowPaging="true">
<itemtemplate>
<div class="buttonbar buttonbar-top">
<a href="Albums.aspx"><asp:image ID="Image1" runat="Server" skinid="gallery" /></a>
<asp:ImageButton ID="ImageButton9" Runat="server" CommandName="Page" CommandArgument="First" skinid="first"/>
<asp:ImageButton ID="ImageButton10" Runat="server" CommandName="Page" CommandArgument="Prev" skinid="prev"/>
<asp:ImageButton ID="ImageButton11" Runat="server" CommandName="Page" CommandArgument="Next" skinid="next"/>.................
I want to insert a particular value against a range of dates into my sql server database from the front end using c#.
the table has the column date and worker. so i desire that the user writes the name of the worker and then enters a From and To range into two textboxes so that thorugh a loop function the name of the worker gets written into the table along with the range of chosen dates.
I need simple JavaScript function that shows hidden div on the center of the screen as modal popup with darked background like jquery dialog or ModalPopupExtender!
example:
[Code]....
I did Saved My Texts In Database With Editor (AjaxToolkit).
Now I Want Load Data From DataBase In Page. But Don't know how can i do it.
I am using Modalpopup from Ajaxtoolkit,I want to show popup control when the page is loaded.
I don't want to click on LinkButton or Button,actually i want show it in "pageload".
I have a usercontrol on my page. The user control contains an ajax updatepanel with a listbox in it. There is also a PopupControlExtender that is tied to that panel so when the user clicks on something the popup shows. That is all working fine except when my page initially loads I briefly see all the listbox items and then they go away.
View 1 RepliesI want in my web application that when user opens the website, the very first screen should be a login modal pop up in the centre of the page and every thing around should be transparently black. This screen will take inputs i.e, ID and PW to login and will show other options like to register or visit as a guest.
View 1 Replies I am using a master page which has a table that is used for layout. In one of the cells I have a Accordion control which holds links in each panel to navigate to the various pages. I have a few pages that take some time to load so I was trying to use the update panel progress control, however it seems that you cannot use a hyperlink or a link button as triggers for the update panel or if you can you cannot if it is in an accordion control.
So I am seeking advice on how to show a loading message when the pages load in the content panes.
I try to use Update Panel for the loading of next page using C#. How do I do once the page is loading then update panel will show theprogress
View 2 Replies