AJAX :: Is It Possible To Change The Width Of The Calendar Over All
Jan 24, 2011Is it possible to change the width of the calendar over all? If so, what is the CSS class that you do it in?
View 10 RepliesIs it possible to change the width of the calendar over all? If so, what is the CSS class that you do it in?
View 10 RepliesI have the following calendar control, but it appears very plain.
Is it possible to adjust height and width plus any background colors & weekend days having different colors etc:
<asp:TextBox ID="txtInvoiceDate" runat="server"></asp:TextBox>
<asp:CalendarExtender ID="txtInvoiceDate_CalendarExtender" runat="server"
TargetControlID="txtInvoiceDate" CssClass="cal_Theme1">
</asp:CalendarExtender>
Is it possible, either through layout tricks, or modifying the roundedCorners.js file, to change the default border width of the roundedCornersExtender? I would like to make the border a little thicker than the default 1px width.
I have read a few people who have tried to do this but no one could seem to come up with anything, and most of the posts were several years old, so I wanted to check back and see if anyone knows if this is possible?
I have a Imagebutton in gridview that displays an image when i click.I am using jaxToolkit:ModalPopupExtender control for display the image.The problem I have is that I only want it to display an image based on another fields like width and Height.After clicking the Image button the image should display exact width and height as in ImageWidth and ImageHeight fields in table.My table structure is
Imageid bigint, ImageWidth bigint,ImageHeight bigint,Image varchar(128)
I am facing a different problem in using Ajax Calendar..
i.e., I am using ajax calendar properly
but whenever i am click calender image it displays ajax calender only 5 days instead of 7 days...
The preview of calendar is shown below
[URL=http://www.lazypic.com/view.php?filename=56ScreenShot.jpg][img]http://www.lazypic.com/images/56ScreenShot.jpg[/img][/URL]
I'm a happy user of th Calendar extender, it's soooooo much better then the original calendar control. I would like to make it so that if the user selects a date after a certain date, the textbox control stays blank. On my form I create everything dynamically. So on page_init the whole form is created and put in a view. I use a table to align everything as I want it. The form is a check form where the user has to check radiobuttons to give an answer. At 11 lines he also has to select a date. Here is where the calendar extender comes in. It all works fine, but I want to make some kind of prevention so the user cannot select date in the future. How can I do this?
View 4 RepliesI saw in a lot of AjaxControlToolkit.resources.dll for different languages, even mine (Russian) in my bin folder so I guess that's real to change the language of my Ajax Calendar Extender.
<asp:TextBox ID="TextBox4" runat="server" oninit="TextBox4_Init" />
<ajaxToolkit:CalendarExtender ID="TextBox4_CalendarExtender" runat="server"
Enabled="True" FirstDayOfWeek="Monday" Format="dd.MM.yyyy"
TargetControlID="TextBox4" />
<br />
It's English by default But how can I change it to my Language ? (or to the current culture language)
I've tried <%@ Page Title="gfregrhtrhr" Language="Nemerle" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Report.aspx.n" Inherits="Flow_WEB_Nemerle.Report" Culture="ru-RU" UICulture="ru-RU" %>
but it made no sense for calendar :-/ by the way I have some fun in comparing my page and [URL] there I can see month names etc on Russian BUT "Today" an english >_< instead on my page month names are English and "Today" is Russian "Сегодня" ... is it phenomenon Finally fixed by adding
<asp:ScriptManager ID="ScriptManager1" runat="server"
EnableScriptGlobalization="true" EnableScriptLocalization="true"/>
I have tried Ajax Calender control. But its default font size is not visible to Eyes..
So i tried to change the font size( using StyleSheet) but couldn't able to succeed in it.
My actual Codings are...
[Code]....
CSS FILE
[Code]....
I am using Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.I am using 2 Ajax Calendar Extender in my page. I am using a text box and html image control and setting the TargetControlID to the test box id and the PopupButtonID to the image control name. When i click the first image the calendar pops up and without choosing a date if i click the second image the second calendar control opens on top of the first calendar control. Is there any way i can make the previous one disappear without choosing a date leaving the calendar control associated with the last image clicked.
View 2 RepliesI want to desplay date like (21-Sep-2010)
View 3 RepliesI have a text box which has a Ajax calendar extender attached. You click on the text box, the calendar pops up, you select a date and that gets displayed in the text box. That all good but the date is displayed in mm/dd/yyyy format. Can this be changed?
View 1 RepliesI am trying to change the color of the text in the title of a Calendar Extender Control from the AJAX Toolkit. I was having trouble getting the hover color to change, so I followed an example from this site:
[URL]
I am changing:
.ajax__calendar .ajax__calendar_hover .ajax__calendar_title {
color:#FFFFFF;
}
But the font color doesn't seem to work. If I omit the ".ajax__calendar_hover", then the title text is white (until you hover over it).
I have to fill a date 00010101 into the text box on page load.But after loading it automatically change to 19010101 Min year is not 0001 How can i input 0001 as year
[Code]....
I'm sure this question has been asked before but I have been unable to find an answer so far. I want to create a control consisting of a label, an editor control and make the editor control resizable using the ResizeControlExtender:
[Code]....
I have is to extend the control vertically, effectively making it longer, but I don't want the user to make it any wider than it parent control - effectively disabling the option to make it wider. Hopefully that makes sense - for an example, look no further than the control used to input text when creating a post.
On my web form I have a Calendar Control. The Calendar Control works fine. The problem is that it changes sizes all of the time based on how many entries are in the date cells. For example: if one month contains information in a cell for each day the Calendar control expands in size taking up more space on the web page. Then if the next month the date cells don't contain any information the Calendar control shrinks in size taking up less space on the web page as the previous month.
I made up a maximum amount of entries that will be entered for each day of the month and then set the height and width to that size but still if there is less data in the date cells the Calendar control continues to shrink.
How can I force the Calendar control to stay at the fixed height and width that I would like to set?
Currently, I am using Calendar control on ASPX page. Instead, I want to use AJAX Calendar Extender control because of the animation effect and the way it moves between years making if much more impressive than Calendar control.Is it possible to display Calendar extender on page permanently, just like Calendar control?
View 2 Replies[Code]....
i would like Fixed Columns[1].width=1 ; While Body containing 100 words;
This Code Does Not Change Width Gridview?
I have a select button in gridview, and I want to change the width of the button. I have tried the ItemStyle-Width . But it does not work.
<asp:CommandField ButtonType="Button" ItemStyle-Width = "20px" ShowSelectButton="True" >
</asp:CommandField>
And I tried the following in
protected void grdHeading_RowCreated(object
sender, GridViewRowEventArgs e)
if (e.Row.RowType ==
DataControlRowType.DataRow)
{
e.Row.Cells[0].Width = 40;
e.Row.Cells[1].Width = 40;
e.Row.Cells[2].Width = 20;
}
}
But the width of the Select button still not changed. How can I change the width of the select button?
I have small design question about
html.DropDownListFor()
How can i change width of html.DropDownListFor() ??
For example by css.
I have a css that has background image, width, etc of all the tabs. I am trying to make customizable tabs. If the text of the tab is bigger, the background image should be changed to bigger one and also the width shouldbe increased.
#tabs a {
float:left;
background:url("../images/selection_deselect_bg.jpg") no-repeat right top;
margin:0;
white-space:nowrap;
text-decoration:none;
width:105px;
text-align:center;
height:24px;
font-size:12px;
color:#00779c;
font-weight:bold;
text-decoration:none;
}
Only the background and width should be changed.
I have a gridview that was quite easy to setup and pull all the reqested database info from an object data source in my BLL. However for the life of me I cannot get any of the columns to change there widths. If I change the columns footer, header, and item style to something around 50px or as large as 5000px it will not change whatsoever. The gridview width as a whole is left blank. Currently I have a phone number column that is the default column size that is overflowing the entire grid. Is there some trick to adjusting column widths in a gridview? It should be as simple as going to the smart tag, editing columns, and changing each ones style to the width I want?
View 4 RepliesHi thanks for your effort in trying to reply for my post.I know how to add an asp.net menu to a master page, But its not so neat and i am trying to add a menu which is similar to
http://javascript-array.com/scripts/simple_drop_down_menu/
Its a Html page and not an asp page, i tried adding the menu, style sheet, javascript to my asp.net master page page by making some alterations to the code but it didnt really work. I.e. it dosent fit in well with the other components, the components below it are being pushed away to the right and i have checked the css several times but nothing is obvious.
I was wondering if there are any specific changes that needed to be done in order to accomodate it.I would be happy to paste my code if somebody would like to observe and point out why addng the menu is causing imbalance to the page .
I now that I can just define the width and height of a page with the div tag to allow for dragpanels to work, but it messes things up with some browsers when rendering, sometimes shrinking the actual content to allow for the complete page and width to be shown such as on the IPAD. I have tried the Javascript below, but it doesn't work, and whenever I try to resize a page manually, it puts my computer into never never land.
Anyone have a clean Javascript that will change the width and height dynamically as I am moving a dragpanel.
I can move the dragpanel, but it snaps back as soon as I let go so in essense it doesn't work.
[Code]....
I would just simply like to change the size of an image or panel when hovering over it. What is the simplest way to accomplish tha?
View 1 RepliesI've been working with this tutorial:
[URL]
It's basically how to create an editable gridview.
I've got it up and working, but I need to change the width/height of the textboxes when the gridview is in edit mode.
The problem is, when the textboxes are rendered, they don't have ID's so I can't use FindControl to modify the textboxes.
Adding textboxes in the template items just created an independant - textbox that doesn't do anything.
My question is, how can I find these textboxes & change their height/widths, or how can I find these textboxes & assign ID's to them...so I can modify their height/widths?
Here's a snippet of what I've been playing with....haven't had any luck though...I'm probably way off:
[code]....