C# - Creating A Radscheduler Type Grid ?
Aug 24, 2010
I am trying to list a list of client with cell for each employee. radcheduler type. If u click on each cell u can assign a new value at this date for this employee. I though about place holder but someone says it is not efficient
View 1 Replies
Similar Messages:
Apr 14, 2010
I have this simple class:
[Code]....
The Type Descriptor is not really implemented:
[Code]....
Now I have the following wacky behaviour. If I return false from CanConvertFrom (for a string as sourceType) i end up with a populated instance of PageState (no other method on the type convertor are called!??) If i return true I get a null ref for my PageState and still no other methods on my type convertor are called.I just implemented almost the same thing for another simplish class and it worked as I would expect (returning true from CanConvertFrom results in ConvertFrom being called). What's going on?If it helps this is the signature of the Controller Action:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult List(int? clientId, bool? canLogon, PageState pageState)
I am implementing a type convertor for this class because in this case I am not passing any of the value that make up a PageState and I want a null reference instead of a class with all default values.
View 5 Replies
Apr 12, 2010
I am working on the prototype for a scheduling application on an intranet system. The application is for scheduling and tracking promotional workers at various locations on various dates.
Currently, only for prototyping, I am generating a data table of location/date, and from this I iteratively build an HTML table (asp:Table control). On visiting each cell, I query for people working that location-date and populate the cell accordingly. This is very inefficient, and will at worst be improved by querying cached data for the whole location/date grid.
I'm looking around for established patterns and techniques for dealing with scenarios like this in HTML in general, maybe a visualization library for jQuery or something, and for ASP.NET in particular, maybe a library for implementation on a GridView etc.
View 4 Replies
Feb 4, 2010
I could use in order to create a forum type effect wherein a user can append to the notes that he see's and then the next time he will view it the notes he appended would appear also, like a history?
View 2 Replies
Apr 13, 2010
I have a some complex requirements, which doesn't seem to be meet by any of standard asp.net grids.
So I am planning to create my own grid control from scratch(generating own html). Any pointers on how/from where to start?
View 2 Replies
Jul 7, 2010
i am searching for a way to create a grid (from some kind of jquery grid plugin didnt choose one yet)
anyway i want to call a webmethod and return a json serialized from a List of an object i created.
today i just use a regular grid view inside an iframe
but i want to eliminate that iframe and create those grids with ajax requests.
View 2 Replies
Jul 9, 2010
I'm just returning to .NET and I am still getting used to the structure and setup for MVC.. I have a query about partial views /user controls - (i guess). I want to create a partial view of thumb image display (grid-wall like) reusable across the site/solution. The model for this already serves detail pages across the site. I want to use one attribute of the model collection e.g. 'model.thumbImage' to create a grid of thumb images.
My question is do I have to create a separate controller for this partial view e.g. Controllers/GridController.cs and then a view Views/Grid/index.ascx ? What is the best way to apprach this? I do not want the grid to be served/ routed directly i.e grid/index.ascx.
View 2 Replies
Mar 22, 2010
I am trying to implement the SportStar from Steven Sanderson book but I am encountering a problem when I want to create the NavController. The code is below
public NavController(IProductsRepository productsRepository)
View 2 Replies
Feb 21, 2011
How can I create a UserControl with a collection-type property which has a collection editor?
I've a CompositeControl with an ArrayList-type property which has CollectionEditor-type designer. You can see this property on Properties window with a "..." button which launches a collection editor. This works fine and all but I want to apply the same to a UserControl and I've couldn't manage to pull it off so far. I've done the same thing what I've done with my CompositeControl but the property either doesn't even show on Properties window of the UserControl or shows as a single value property with no "..." editor button.
This is what I've done with CompositeControl:
[Code]....
View 1 Replies
Jan 20, 2011
i'm looking for a control with following functionality in GridView or other data control
1. Excel Type Editing, with ability copy to and from excel
2. Ordering the rows with Drag and Drop functionality
View 2 Replies
Aug 6, 2010
I've an item template inside a grid which has a <asp:LinkButton/> inside it. I assign the text for the link button as
<%# Convert.ToString(Eval("Tags"))%>
Tags can have a string with multiple tags in it delimited by space. For eg. "sports", "sports cricket", "sports cricket sachin" are the examples of some possible tags.
I want to create a button for each tag inside the string. How can i create the controls (server control - linkbutton) dynamically during runtime inside the grid item template?
View 2 Replies
Jan 6, 2011
I have been using the GridView control, to display data, but now my two datasources (Informix, and VisualM/Mumps) makes it very difficult to create a store procedure to with paging. Is there a better data grid, that will allow my users to scroll/search the current data set?
View 1 Replies
Mar 10, 2011
I am using asp.net grid view which has is populated dynamically that means it has auto generated columns at run time.
I just want to know db type of these columns whether a column is text , date or int type.
View 1 Replies
May 20, 2010
Does anyone know of a way to display a grid where the user can select multiple rows from a single column to copy to the clipboard, as opposed to an html table where the text can only be selected by rows. In my work, we do a lot of copy/pasting of chunks of data. I would like to migrate our processes out of SQL mgmt studio and into a browser, but I need an html table that will behave more like a spreadsheet and less like a paragraph.
(see illustration below if you can't understand what I'm talking about)
View 2 Replies
Apr 1, 2011
My Grid is bound to a collection type datasource. When I try to sort the Columns in the Grid I get Javascript error saying sorting event not implemented. Why is the default inbuilt sort functionality not working which worked fine when I directly used a sqlDataSource using smart tag. Do I have to write some code to achieve sorting ?
View 1 Replies
May 21, 2010
i am creating a grid page for a first time.
I looked on some tuitorials also but i still have few confusions.
I have a few parameters on page A. After the selection of those parameters, i should pass to the new page which should have a list of fleet items. There will be few columns and at the right most, i want a tickbox whether to select that item or not.
As a default, i want each checkbox be checked but if user wants to uncheck it, they should be able to do it.
View 6 Replies
Jan 16, 2011
i have one grid and one button when i click on that button then it expand and showing another grid under the row of parent grid how to do that.
View 2 Replies
Oct 5, 2010
how can i store image into database and view it in grid view?
View 3 Replies
May 19, 2010
Problem in YUI:I am using YUI grid,my dataset contains some special character.i bind my dataset into the grid,but its not displayed in my grid? how to solve this
View 1 Replies
Nov 12, 2010
I am not sure if I have found the right forum for this one.
the problem is:
I have a .licx file in my rootfolder.
I am getting the error:
Error 53 Unable to resolve type ' <add type="TabStrip" version="7.0" />' C:inetpubwwwrootCrop_ApplicationCrop_Applicationeo_web.licx 7 Crop_Application
,which I get for all the types that are in the xml file(i just gave one of them).
A friend told me that I have to add the type .licx in the MIME type in the IIS .
The problem is that I find the MIME type, I add the extension type .licx but I do not know the MIME type for .licx
View 1 Replies
Jun 23, 2010
Have a GridView with a templated select button hidden and using
e.Row.Attributes.Add("onclick",Page.ClientScript.GetPostBackEventReference(this.grdMaster, "Select$" + e.Row.RowIndex.ToString())); to select a row .
When user like to update the datasource he will select one row from gridview then in selected indexchanged event i would display the selected row values beneath the form under the grid , Then user will update the contents displayed from grid and click an update button which is outside the grid . After updating the displayed row , i got to get the values of the next row in the grid and display them for next updation , i'e if users maually selects row 3 from grid then he can update the values using the update button and then on update click itself i'll have to display next row contents of row 4 and this process could go on .
View 3 Replies
Mar 12, 2010
I have Parent/Child Grid (also called Nested Grids).
Parent Grid (PG) :: PG has two template fields. 1st template field has "Category ID" and 2nd template has Child Grid
Child Grid (CG) :: CG is populated in PG's RowDataBund event based on "Category ID". In CG's DataBound event, I am doing something which I need to display in CG's footer row.
Problem :: In the footer row of each CG, I have to show the "Category ID" which is in PG' row. How can I get hold of the PG's row which hascurrent nested grid (there will 'n' child grids, one for each 'Category ID' in the PG ) so I can read the "Category ID"
I was thinking if I could do something (DataBound event of CG) like this..
string catId = ChildGrid.Parent[get the index of the current row in PG].Cells[0].Text;
View 2 Replies
Mar 31, 2010
how to remove grid lines from Grid View suing style sheet...
View 1 Replies
Mar 24, 2010
In a ASP.NET application I have a paging RadGrid which shows up textbox in each row. Outside the grid, there is an OK button to save the content of all the textbox. If user changes text in any one or more of the textbox and without clicking on the "OK" button, tries to move to a different page number (of the grid by clicking on the page number), he should be prompted for confirmation of save or cancel the changes.
I am guessing that one can write a Javascript function which would look for any form input control (textbox in my case) and detect changes and If there are changes, would prompt the user. However, I am not sure where I can call this function from?
I am using RadGrid but I guess this should be applicable to GridView as well.
View 1 Replies
Jun 30, 2010
I'm getting some Xml back from a service. I would like it to be the datasource of a grid view on my aspx page. Here is a sample of the Xml
<?xml version="1.0" encoding="utf-16" ?>
<ArrayOfTripTollCompleteDC xmlns:xsi=[URL]"
xmlns:xsd=[URL]>
<TripTollCompleteDC>
<TripTollId>5</TripTollId>
<DMSLaneModeID xsi:nil="true" />
<HOVOnly>false</HOVOnly>
<CreateDateTime>2010-06-07T15:54:01.023</CreateDateTime>
<ConfigVTMSDelaySeconds>5</ConfigVTMSDelaySeconds>
</TripTollCompleteDC>
and here is my code that parses the xml and tries to bind the grid. What am I missing here?
var retVal = service.GetTripDetailsByTripID(tripId);
var xmlTrips = XDocument.Parse(retVal);
var tripTolls =
from t in xmlTrips.Elements("TripTollCompleteDC")
select new {
TripTollId = (int)t.Element("TripTollId")
, DMSLaneModeID = (int?)t.Element("DMSLaneModeID")
, HOVOnly = (bool)t.Element("HOVOnly")
, CreateDateTime = (DateTime)t.Element("CreateDateTime")
, ConfigVTMSDelaySeconds = (int)t.Element("ConfigVTMSDelaySeconds")
};
grdTripDetails.DataSource = tripTolls;
grdTripDetails.DataBind();
I realize these are anonymous types. Is that a problem? I have verified the service is returning the Xml as stated above. Can anyone out there point me in the right direction? Just for completeness, here is the grid markup <asp:GridView runat="server" ID="grdTripDetails" />
View 1 Replies