.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Asad Ali
Fauzul Azmi
Post New Web Links

Modifying AjaxControlToolKits CalenderExtender controls header display

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :ASP.Net
 

Hi,

I 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.

If it is possible, Can you let me know how to do this?

Thanks

 

 

 

 




View Complete Post


More Related Resource Links

how to hide/display controls in NewForm.aspx based on dropdown value in SharePoint list

  

Hi,

I have 1 dropdown in my sharepoint list with other columns. If dropdown value equal to 'xyz' i need to display some other controls, otherwise these controls should be hidden.

I know we can achieve this with javascript. If any one can provide code or sample then it will be appreciated. or is there any other alternative methods to do this ........


Thanks & Regards, Neerubee

Distorted display of WPF controls

  
Hi On an application developed using WPF while running in hw accelerated mode, certain controls do not appear properly in certain devices. Same application works fine if the rendering mode is forced to software. However, the rendering tier is 2 and by default it goes to hw mode of rendering in WPF It does not work fine with the system with following specification: Display:: Device name: Intel(R) Graphics Media Accelerator 500 Manufacturer: Intel Corporation Chip Type: Intel (R)GMA 500 Graphics Controller DAC Type: Internal LVDS, External SDVO Approx Total Memory : 251 MB Current Display Mode : 1024 x 576 (32 Bit) ( 60Hz) Monitor : Generic PnP Monitor Drivers:: Main Driver: igdumd32.dll Version: 8.14.10.2011 WHQL Logo'd : Yes Driver Model : WDDM 1.0 DirectX Features:: DirectDraw acceleration - enabled Direct3D Acceleration : Enabled AGP Texture Acceleration :Enabled Could you let me know if it has anything to do with the graphics card configuration. If so, what is the parameter that has to be checked before forcing it to software mode of WPF rendering? Thanks in advance.

How do I dynamically change and display the group of controls/content in wpf

  
The requirement for me is, based on some condition I need to show different group of controls on the screen. Gow do I achive this?

Hiding Controls for being able to display tooltip on Desktop

  
Hi, I am creating an aplication using a form and I use Tooltip1.Show(message to show, Form1, mouseX, MouseY, time to show) But I want this tooltip to be able to show even if the Aplication is minimized and without focus(on the mouse's position). The problem is that the tooltip function those not work in these cases, right?. So I am planning: 1) create a new form or messagebox 2) Make it invisible 3) Show tooltip associated to this control But dont know how to do it in c#. Can someone help me resolve it or suggest an allternative solution for this requirenment? Thanks indeed.          

Hiding Controls for being able to display tooltip on Desktop

  

Hi,
I am creating an aplication using a form and I use Tooltip1.Show(message to show, Form1, mouseX, MouseY, time to show)

But I want this tooltip to be able to show even if the Aplication is minimized and without focus(on the mouse's position).
The problem is that the tooltip function those not work in these cases, right?. So I am planning:

1) create a new form or messagebox
2) Make it invisible
3) Show tooltip associated to this control

But dont know how to do it in c#.
Can someone help me resolve it or suggest an allternative solution for this requirenment?
Thanks indeed.

 

 

 

 

 


Adding windows forms controls to the display of list items

  

Hi,

I'm new to Sharepoint development, and was wondering if I could get some brief pointers to get me going in the right direction.  I'm required to add a button to list items that on submit does some manipulation of the data in the fields inside the item and then sends that data off to an external webservice.  The complexity is sufficient to warrant managed code, i.e. C#.

What I'd like to know is how to approach integrating this code into Sharepoint.  I've read about web parts, but viewing list items doesn't involve web part pages on my installation so I can't include my own.  What other ways are there of doing this?

Cheers all


Can a .ASP Page display GridView Controls?

  

Hi,

I have been given a site mainly created with .ASP pages with the majority of the data retrieval done via Functions within tables.

I'm trying to move away from this by implementing GridViews etc however my gridview within any .asp page fails to return any data. I can test the query and it works within the query builder section however the empty template view keeps on appearing.

The code is below:

<asp:GridView id="GridView1" runat="server" AutoGenerateColumns="false" DataSourceID="SqlDataSource1">
 <Columns>
  <asp:BoundField DataField="Openx" HeaderText="Openx" SortExpression="Openx">
  </asp:BoundField>
  <asp:BoundField DataField="Closex" HeaderText="Closex" SortExpression="Closex">
  </asp:BoundField>
 </Columns>
 
 <EmptyDataTemplate>
  No Data
 </EmptyDataTemplate>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=RAM;Initial Catalog=Availability;User ID=******;Password=****" ProviderName="System.Data.SqlClient" SelectCommand="SELECT [Openx],

Display rating control in xslt list view webpart without table header

  

Hi,

In the same code, pasted above if I want to display rating control using xslt list view webpart what I need to write.

I have created few xslt list view webparts for my site but I am not able to display rating control using xslt. I am writing something like this

<xsl:apply-templates select="$Fields[@Name='AverageRating']" mode="PrintField">
              <xsl:with-param name="thisNode" select="."/>
              <xsl:with-param name="Position" select="$Position"/>
            </xsl:apply-templates>

But for this I think i need to include some parameter or any particular template. Using the above type of code in xslt this is not working. I do not want to display table header row. Please guide me on this.


-Prashant

How to display/calculate total of a custom column in dataview webpart's grouping header

  

Hi,

I've created a dataview from a MOSS2007 form library. In the dataview, I've enabled grouping by a specific column and also was able to show the total (sum) of couple of columns like this, in the group heading:

<xsl:value-of select=”sum($nodeset/@Total_x0020_Cost)” />

So far, it's working fine. I've added couple more columns to this dataview. There's a piece of javascript code that is executed for each row. These 2 columns gets their value from this javascript. Now, is there anyway, I can get the total/sum of these columns in the group heading.

Have you done something like this? Please advise.

Thanks,

 


Pman
http://www.pmansLab.com/

ssrs report header display in center

  

Hi All

I have an ssrs 2008 report ,in which am displaying 15 columns.Those columns are hidden based on a expression.so when the report runs ,it might show 9 or 10 or 11 ,it depends.But there is report name on top which should dipslay in center of report table.It was set to display in center when report  shows all the 15 columns.When the report is showing only 10 columns,the report name in header is going to right,its not displaying in center.How to achieve this?

Thanks in advance!!


Binding WPF Controls to an Entity Data Model

  
In this interview, programming writer, McLean Schofield, demonstrates how to bind WPF controls to an entity data model, using Visual Studio 2010 Beta 1. You can also learn more in the topic: Walkthrough: Binding WPF Controls to an Entity Data Model.

Custom Controls in C# .NET

  
Embedding user controls in a Windows form is just like adding a simple button or text box that are already provided with .NET. These basic controls were written essentially like you code your own controls. Typically the controls you design are to be used in multiple forms or to modularize your code. These reasons help reduce the amount of code you have to type as well as make it easier for you to change your implementation. There should almost never be any reason to duplicate code because it leaves a lot of room for bugs. So, implementing functionality specific to your control in the control's source code is a good idea. This reduces code duplication as well as modularize your code, which is a good programming guideline.

Accessing the different controls inside a GridView control

  
how we can access a particular control which resides inside a GridView control. In this article I will show you how you can access different controls inside a GridView control. We will see how we can access a TextBox control, a DropDownList control and a ListBox control. If you are working with ASP.NET 1.X then you might want to check out my article Accessing Different Controls Inside a DataGrid.

Using ASP.NET 3.5's ListView and DataPager Controls: Displaying Data with the ListView

  
Prior to ASP.NET 3.5, developers who needed to display a set of records could choose between the GridView, DataList, and Repeater controls. The GridView provides rich data features, but has a very boxy layout; the DataList and Repeater allow for a more flexible layout, but lack the "point and click" data features found in the GridView, DetailsView, and FormView controls. The ListView bridges the gap between layout flexibility and built-in data features.

This article, the first in a series of articles on the ListView and DataPager controls, looks at the ListView's many available templates and illustrates how to display data. Read on to learn more!

GridView inline Master/Detail record display

  
This code drop is part of a smash and grab series. If you're in a rush, you can just grab this code and insert it into your application, no understanding is required. When you have some time (ya, right) you may want to review the source code.

Create ToolTip for GridView Header

  
The following allows you to add a tooltip to the header links of your GridView, a feature that is lacking.

Display data in gridview dynamicallay

  
I have AD domain which has 100000 users, I want to display all the users in gridview controls.Actually it is displaying users in gridview after parsing entire domain which takes around 30 min. I want to display the users while loading itself.It is continously getting user information from AD domain and getting each user details, I want to display the users information which already queried instead of waiting till getting all users information
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend