<telerik:RadUpload ID="uplPhoto" runat="server" ControlObjectsVisibility="None" MaxFileInputsCount="1" > |
</telerik:RadUpload> |
<asp:Button ID="btnUpload" runat="server" Text="Upload" onclick="btnUpload_Click" /> |
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> |
<asp:DataList ID="dtlPhoto" runat="server" DataKeyField="CreatedBy" |
DataSourceID="odsPhoto" RepeatDirection="Horizontal" RepeatColumns="3" |
onitemdatabound="dtlBlogPhoto_ItemDataBound"> |
<ItemTemplate> |
<img id="img1" alt="" src='<%# Eval("Location") %>' /> |
</ItemTemplate> |
</asp:DataList> |
</telerik:RadAjaxPanel> |
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="btnUpload"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="dtlPhoto" |
LoadingPanelID="RadAjaxLoadingPanel1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManagerProxy> |
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"> |
</telerik:RadAjaxLoadingPanel> |
Thanks.
Regards,
Jessie
1. The first filter (for a date column) wraps, such that the filter icon is below the text box instead of to the right.
How can I resize or keep it from wrapping? I tried many different filter sizes in the aspx and TableLayout="auto"
and TableLayout="fixed". It looks like there is not enough space for the text box, the date picker icon, and the filter icon.
2. I tried this technique:
http://www.telerik.com/help/aspnet-ajax/grdsettingfiltertextboxdimensions.html
But I do not know what value to use for "ContactName" in:
TextBox box = filteringItem["ContactName"].Controls[0] as TextBox;
I tried the Unique Name for the GridDateTimeColumn but it did not work
3. I tried this technique. It executed without error, but it did not change anything. Do I need to delete the size declarations in the aspx? Or does this code override?
http://www.telerik.com/community/code-library/aspnet-ajax/grid/filter-textbox-sizing.aspx
4. aspx below
<rad:RadGrid ID="RadGrid1" Font-Size="Smaller" runat="server" PageSize="40" AllowPaging="True"
AutoGenerateColumns="False" ShowStatusBar="True" GridLines="None" MasterTableView-NoMasterRecordsText="No records; try different settings"
DataSourceID="MasterDatasource1" OnInit="RadGrid1_Init" AllowFilteringByColumn="True" AllowSorting="True"
Width="989px" OnItemCreated="RadGrid1_ItemCreated" >
<PagerStyle Mode="Slider" />
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
</Scrolling>
<Selecting AllowRowSelect="true" />
</ClientSettings>
<MasterTableView AutoGenerateColumns="False" Width="100%" DataKeyNames="Day" TableLayout="auto">
<ExpandCollapseColumn Visible="True"></ExpandCollapseColumn>
<Columns>
<rad:GridDateTimeColumn DataField="Day" HeaderText="Day" UniqueName="Day" ReadOnly="true" DataFormatString="{0:d}"
PickerType="DatePicker" FilterControlWidth="90px" >
<HeaderStyle Width="160px" />
<ItemStyle Width="160px" />
</rad:GridDateTimeColumn>
<rad:GridBoundColumn DataField="MinPerPickTicket" HeaderText="MinPerPickTicket" UniqueName="MinPerPickTicket" ReadOnly="true" DataFormatString="{0:#,###.##}" FilterControlWidth="50px" >
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="SecPerPickLin" HeaderText="SecPerPickLin" UniqueName="SecPerPickLin" ReadOnly="true" FilterControlWidth="50px" >
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="SecPerQtyToPick" HeaderText="SecPerQtyToPick" UniqueName="SecPerQtyToPick" ReadOnly="true" FilterControlWidth="50px" >
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="PickDuration" HeaderText="PickDuration" UniqueName="PickDuration" ReadOnly="true" FilterControlWidth="50px" >
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="NumPickTicket" HeaderText="PickTicket" UniqueName="NumPickTicket" ReadOnly="true" FilterControlWidth="50px" >
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="NumPickLin" HeaderText="PickLine" UniqueName="NumPickLin" ReadOnly="true" FilterControlWidth="50px" >
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="QtyToPick" HeaderText="ToPick" UniqueName="QtyToPick" ReadOnly="true" FilterControlWidth="50px" >
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="QtyPicked" HeaderText="Picked" UniqueName="QtyPicked" ReadOnly="true" FilterControlWidth="50px" >
</rad:GridBoundColumn>
</Columns>
<DetailTables>
<rad:GridTableView DataSourceID="DetailDataSource1" Name="DS1Detail"
CellSpacing="-1">
<ParentTableRelation>
<rad:GridRelationFields DetailKeyField="Day" MasterKeyField="Day" />
</ParentTableRelation>
<Columns>
<rad:GridBoundColumn DataField="PickTicket" HeaderText="PickTicket" UniqueName="PickTicket">
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="PickDurationSecPerPickLin" HeaderText="PickDurationSecPerPickLin" UniqueName="PickDurationSecPerPickLin">
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="PickDurationSecPerQtyToPick" HeaderText="PickDurationSecPerQtyToPick" UniqueName="PickDurationSecPerQtyToPick">
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="PickDurationSec" HeaderText="PickDurationSec" UniqueName="PickDurationSec">
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="NumPickLin" HeaderText="NumPickLin" UniqueName="NumPickLin">
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="QtyToPick" HeaderText="QtyToPick" UniqueName="QtyToPick">
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="QtyPicked" HeaderText="QtyPicked" UniqueName="QtyPicked">
</rad:GridBoundColumn>
</Columns>
</rad:GridTableView>
</DetailTables>
</MasterTableView>
</rad:RadGrid>
RadCloudUpload sends request to {AccountName}.blob.core.windows.net, but this leads to an error if the german azure cloud is used. The german endpoint is {AccountName}.blob.core.cloudapi.de/
Is there a way to determine the endpoint itself?
Regards
Hi,
When I looked into this demo,
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/manual-crud-operations/defaultcs.aspx
I found if I input a long enough product name such as
')aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
The text will be split into two lines in the text box.
The first line only has a single character ( , and other characters are placed in the second line.
Please see the attached screen shot.
What I expect is that the produce name should be in a single line.
This error only reproduce in IE but not in Chrome.
Thanks.
Best regards
Zhang Rui
Hi!
I do somes verification on the codeBehind on the event "RadWizard_ActiveStepChanged(object sender, EventArgs e)".
I need to show or not the finishbutton on c#. How i can do?
thanks