Forms Data Controls :: Disable The Grid Inside The Line Chart?
Jun 5, 2010
I don't want to display the grid inside the line chart. Also I want to show a multiple lines in a single line chart(single chart displaying multiple line charts).
I need to disable the "Imagebuttons" after the user click on one of them... I've sucessfully updated the table when the user click on a button using the following code on the event of row command of the gridview..
[Code]....
so please how may I disable these buttons after database is updated ?
I have a graph created with MS Chart like the following picture. As you can see the vertical lines are messed up with value of the top of each bar. Here's the mark-up for the graph:
i have column chart on my page i want to disaply line at zero and all other grid lines visible false how i can i do that i am using asp.net 4.0 chart control
I have to create a line chart from a sql query. It is as follows:
[Code]....
However,I need to take PlayerName into account too.For example,if there are 2 different PlayerNames,2 different series will be shown on the line chart.
I need to create a chart, preferably using MS Chart Controls, that looks like a stepline chart with the exception that color has to be filled in under the line. An area chart won't block off values like a stepline chart (it creates a direct, or curved, line from one point to another). An area chart does fill in the color the way I would like it to be but I want a stepline effect. What I guess I want is a StepArea chart. I would imagine that it should be possible but I haven't been able to configure it the way I want. how I can do this?
I have a boolean / bit value in the database called "is_paid". Depending on this value I want to Disable a button. (the same would go for example to set a textbox not Visible, but anyway)
What I want is to Disable the button, if my boolean is 1 (true).
First I tried to convert my boolean value to text:
CS0030: Cannot convert type 'string' to 'bool' However, if I use it one a Label it works fine: <asp:Label ID="lblIsPaid" runat="server" Text='<%# Convert.ToBoolean(Eval("is_paid")) ? "True" : "False" %>'></asp:Label>
So another trial I did was to CAST the data from the database to be the text that I want, like so:
SELECT not_paid = CASE WHEN is_paid = 0 THEN 'True' WHEN is_paid = 1 THEN 'False' END ....
System.InvalidCastException was unhandled by user code Message=Specified cast is not valid. Source=App_Web_absjd3ob StackTrace: at ASP.manager_aspx.__DataBinding__control74(Object sender, EventArgs e) in c:Documents and SettingsAdminMy DocumentsVisual Studio 2010ProjectsWebManager.aspx:line 219 at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren()
So I wonder, is it possible to change the "Enabled" property based on by boolean value?
I'm using ASP.NET/VB and am wanting to nest a grid inside of another grid. I've seen them but am unsure how to make them work. I have a Orders table with an OrderID and it is linked to a Orders_Detail table. I would like to be able to select the order and see the details. I've done it differently with 2 grids outside of each other, but this isn't the solution I need.
I have two grid views in my page..first one normally displays many number of rows..But the second one displays 3 or 4 rows....when the project running, the second one seems to appear at the centre of the first..that is if the first grid has 12 and second grid has 4 rows ..the first row of the second is in line with the 5th row of the second..why this happen? I want a normal display..The first row of the second grid should be in line with the first row of the first grid.
Have a gridview that is populated via a DB, which is populated by another tool. That tool records all the data, including the user that submitted it.
The site also enables editing, but I want only the user that submitted the data to have the ability to edit HIS data only, even though the grid view is displaying other people's datas.
So currently the gridview has "ShowEditButton="True"
So on the far left, there is the Edit option for all lines, for all users, for any user viewing the site.
is there a way to draw a goal line in a chart view w/o having to add a line chart series? i would like to be able to draw this goal line in bar charts as well, but i see that i cannot combine a line chart with a bar chart.
I have a grid view with each row as a link button. When I click on the row, some data parsing process takes place (about a 15 sec process). The grid refreshes itself at a regular interval. I want to disable the link when it is clicked once, so that the user gets to know that row has been processed already and does not click it again, until the grid refreshes itself and the row disappears. I am copying my gridview code below. how to disable the link button on that row as soon as it is clicked.
The above code works if there are controls directly inside a update panel. But what if I want to disable a button or a tex box that is inside an Edit template of a formview.. that is in a panel.
I built a simple application that is used to manage photos for an image gallery on my employer's website. A user can add, edit, or delete items which are stored in an XML file. I've set up Up/Down buttons so that I can move pictures up and down in the order.On the first page, I've disabled the Up button of the first item on the RowDataBound event... since it's already first
[Code]....
I'm trying to do the same for the Down button on the last item of the last
I have to show multiple data with textBox & Grid for that i use DataList by using that, i achieve textbox data; but stil have a problem of Grid... to show in Asp:DataList...
how do i use the dropdownlist in the Gridview.here is my requirement: i want to place one Drop down list in Grid view,when ever Gridview loads that dropdown must be fill.
the design requirement is like,when we click on a item in grid view a pop up window has to be generated where a particular user can enter details and save them and then again minimise the window..the changes entered in the window has to be saved in db..is there any possiilty to do this kind in grid view control ??