I want to delete the selected uploaded file from the list on some condition.
Actually I want to allow only PDF files to be uploaded. As soon as I upload I am able to track the file extension and I am able to popup a message that this file is not valid but that file is uploaded and shows RED marked in the uploaded file list on top. I want that file should be removed from the list at that time itself.
Please help me out.
Hello,
If you have a span tag at line 1 and press enter to create a new line it adds a span tag to a new line. See the video for details:
http://screencast.com/t/nseFoTTl
Is there a way to prevent this?
To put it bluntly, is this possible? When I try and do it in design mode in Vis it simply crashes Vis. When you do it in source view and load the resulting page, when you click on a item in the second wizard it changes the first wizard.
I simply wanted to use it because the wizard is so much better than the tabs and multiview
We have a TreeView control that needs to load a lot of data, so we use on-demand mode. We also require each node have a checkbox and save what the user checked in a database. We can load the TreeView just fine. The problem comes when saving. Sometimes, not all the values from all the nodes are saved. After doing some experimenting, I came determined the cause but cannot think of a simple solution.
Here's the scenario to illustrate:
You come to a page with the TreeView control for the first time, expand a tree branch, say branch called "website1" and check the nodes under website1 that say "Homepage" and "Contact Us". Then you click save and leave the page. The database saves "Homepage" and "Contact Us" as expected. Now you come back to the page, expand the node "website2" and check something there and click save. The problem is the "Homepage" and "Contact Us" you selected from website1 the first time are no longer saved in the database as you did not expand the website1 branch.
When saving, we delete all previous values selected in the database and loop through the CheckedNodes collection to determine which nodes the user checked. However, because you did not expand the website1 branch the second time, the TreeView will not have the 2 nodes checked due to on-demand mode.
Does anyone have any ideas on what to do?
Hi,
I have 2 Radgrids inside Master Radgrid and Export is implemented on master radgrid so that both radgrid data can be exported into one file.
one of the Radgrid is having Footer Row which is used to display total of some of the columns.
When I am doing Export to Word then Footer data is not properly formatted and its misaligned.
Check the screen shot for the same.
Please provide me solution for formatting footer row alignment in export to word .
Thanks in advance.
Anu
Hi,
How can I set the height using CSS?
<telerik:RadListBox runat="server" ID="rlb" CssClass="height40" ><Items><telerik:RadListBoxItem Text="1" /><telerik:RadListBoxItem Text="2" /><telerik:RadListBoxItem Text="3" /><telerik:RadListBoxItem Text="4" /><telerik:RadListBoxItem Text="5" /><telerik:RadListBoxItem Text="6" /><telerik:RadListBoxItem Text="7" /></Items> </telerik:RadListBox>
Hey there,
I'm currently facing following problem:
On an ASP.NET page there is a RadGrid that gets filled on client-side using a SignalR connection.
The databinding is done like this:
var
table = $find(
'blablatableid'
);
var
tableView = table.get_masterTableView();
tableView.set_dataSource(viewModels);
tableView.dataBind();
The grid is filled and the data is displayed correctly.
During a postback caused by a button click I need to access the data in the server-side code but the grid seems to be empty. The grid doesn't have a datasource and the ItemsCollection is empty. Did I forget something or is this scenario not supported?
Best regards,
Christian
I know this has been discussed multiple times in the forum, but unfortunately I was unable to find a solution that was working for me. So here it is again. Please someone help! :)
Here is the code
<AxnGrids:AxnGrid AllowMultiRowSelection="False" AllowRowClickEventPropagation="True" AllowSorting="True" AutoGenerateColumns="False"
EnableEmbeddedSkins="False" EnableViewState="True" Height="100%" ID="TimeCardsGrid" InitialResizeToFit="True"
OnItemDataBound="TimeCardsGrid_OnItemDataBound" OnNeedDataSource="TimeCardsGrid_OnNeedDataSource" runat="server" Skin="TMW_v1"
TabIndex="-1">
<MasterTableView EditMode="EditForms" AllowMultiColumnSorting="True" TableLayout="Auto" EnableColumnsViewState="True" EnableViewState="True" >
<Columns>
<%-- columns returned: empid, emptimeid, startdate, enddate, status, empdrvid, approved --%>
<telerik:GridBoundColumn DataField="TimecardId" HeaderText="Timecard" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" HeaderStyle-Width="100px" />
<telerik:GridBoundColumn DataField="StartDate" HeaderText="Start Date" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" HeaderStyle-Width="100px" />
<telerik:GridBoundColumn DataField="EndDate" HeaderText="End Date" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" HeaderStyle-Width="100px" />
<telerik:GridBoundColumn DataField="Approved" HeaderText="Approved" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" HeaderStyle-Width="100px" />
</Columns>
<SortExpressions>
<telerik:GridSortExpression FieldName="TimecardId" SortOrder="Descending" />
</SortExpressions>
</MasterTableView>
<ClientSettings>
<ClientEvents OnGridCreating="FixGridSizers" OnRowDblClick="raiseServerCommandRowDblClick" />
<Resizing AllowColumnResize="True" ClipCellContentOnResize="False" />
<Selecting AllowRowSelect="True" />
<Scrolling AllowScroll="True" EnableVirtualScrollPaging="False" UseStaticHeaders="True" />
</ClientSettings>
</AxnGrids:AxnGrid>
When this is run, i get the error "An item with the same key has already been added". if i comment out the line between the SortExpression, it works fine.
Any suggestions