Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
257 views
Hi,

I want to set upload file image of RadAsyncUpload (Please see screenshot)
 from code behind?
How can we achieve this?

Hristo Valyavicharski
Telerik team
 answered on 18 Sep 2013
2 answers
100 views
Hi, the issue - opening rad window with large height, or rather, when the height is greater than the browser window.

What happens is that the rad window is pushed up and the top title bar (the bar withe title and close buttons etc) is now longer visible in the browser. Even when maximising.

The issue can be reproduced here in Firefox

http://demos.telerik.com/aspnet-ajax/window/examples/minmaxsize/defaultcs.aspx

Submit a height/width of say 1500x1500.
Julian
Top achievements
Rank 1
 answered on 18 Sep 2013
4 answers
158 views
Hi,

I'm developing a web part in SharePoint and I need to use the telerik RadGrid. Because of is in SharePoint, I need target .net framework 3.5. I have a full license to buy/update Telerik controls to the latest version, but I just need to download a version compatible with .net framework 3.5 that runs inside Sharepoint.

Could you please point out what's the exact version I have to download?
Could you put also the steps to get that version?

Thanks in advance 
Slav
Telerik team
 answered on 18 Sep 2013
2 answers
499 views
I've tried several things in the CSS file to move a RadWindow's title further to the left.  But can't figure out how to do it.

Here's my layout code:

<telerik:RadWindow ID="rwDeleteMuckMoves" runat="server" Behaviors="Move" EnableShadow="true" VisibleStatusbar="false" VisibleTitlebar="true"
                   Title="Confirm Deletion" BorderColor="Black" AutoSize="true" Modal="true" IconUrl="">
  <ContentTemplate>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
      <ContentTemplate>
        <div class="dialogMain smallText" style="width:280px; padding:5px 0 0 0">
          <div style="margin-left:auto; margin-right:auto; padding-bottom:5px; text-align:center">
            <div style="text-align:left; padding:0 0 10px 12px">
              <asp:Label ID="labelDeleteMuckMovesIntro" runat="server" />
            </div>
 
            <%--OnClientItemChecked="ControlButtonFromRadListBoxCheckboxes(this, 'buttonDeleteMMTaskOK')"--%>
            <telerik:RadListBox ID="rlbDeleteMMTasks" runat="server" Width="90%" OnItemCreated="rlbDeleteMMTasks_ItemCreated" EnableDragAndDrop="false" CheckBoxes="true">
              <ItemTemplate>
                <div class="smallText" style="text-align:left">
                  <table style="width:100%">
                    <tr>
                      <td class="muckListPrimary" style="width:68%">
                        <asp:Label ID="labelMMtitle" runat="server" />
                      </td>
                      <td style="text-align:right; width:32%">
                        <asp:Label ID="labelMMunits" runat="server" />
                      </td>
                    </tr>
                    <tr>
                      <td style="width:60%">
                        <asp:Label ID="labelMMequip" runat="server" />
                      </td>
                      <td style="text-align:right; width:40%">
                        <asp:Label ID="labelMMdist" runat="server" />
                      </td>
                    </tr>
                  </table>
                </div>
              </ItemTemplate>
            </telerik:RadListBox>
          </div>
 
          <div style="float:right; padding:5px 12px 5px 0">
            <asp:Button ID="buttonDeleteMMTaskOK" runat="server" Text="OK" Width="50" CssClass="smallText" Enabled="false" OnClick="buttonDeleteMMTaskOK_Click" />
               
            <asp:Button ID="buttonDeleteMMTaskCancel" runat="server" Text="Cancel" Width="50" CssClass="smallText" OnClientClick="HideDialog('rwDeleteMuckMoves')" />
          </div>
 
          <div style="height:20px">
              
          </div>
        </div>
      </ContentTemplate>
    </asp:UpdatePanel>
  </ContentTemplate>
</telerik:RadWindow>
Robert
Top achievements
Rank 1
 answered on 18 Sep 2013
2 answers
357 views
I have a bound grid column that has display = false. This column holds a foreign key for the row. How do you hide this column in the editformsettings when you click the "edit" command. My attached jpg has a section hi-lighted that I don't want visible to the user. This is my grid code:

<telerik:RadGrid ID="dgComboCodes" runat="server" GridLines="Both" AllowAutomaticDeletes="true"
     AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowPaging="true"
     AllowSorting="true" AllowMultiRowSelection="false" AutoGenerateColumns="false" Width="80%" AllowFilteringByColumn="true">
     <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
     <MasterTableView DataKeyNames="CORE_Business_Scenario_No,Adjustment_Reason_Code,Health_Care_Remark_Code,Adjustment_Group_Code"
         Width="100%" CommandItemDisplay="Top" HeaderStyle-CssClass="labelsMed">
         <Columns>
             <telerik:GridEditCommandColumn UniqueName="EditCmd" HeaderStyle-Width="10%"></telerik:GridEditCommandColumn>
             <telerik:GridBoundColumn Display="false" UniqueName="BS_Seq" DataField="CORE_Business_Scenario_No" HeaderStyle-Width="15%"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn Display="true" UniqueName="CARC" DataField="Adjustment_Reason_Code" HeaderText="CARC" EditFormColumnIndex="0" HeaderStyle-Width="15%"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn Display="true" UniqueName="RARC" DataField="Health_Care_Remark_Code" HeaderText="RARC" EditFormColumnIndex="1" HeaderStyle-Width="15%"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn Display="true" UniqueName="CAGC" DataField="Adjustment_Group_Code" HeaderText="CAGC" EditFormColumnIndex="2" HeaderStyle-Width="15%"></telerik:GridBoundColumn>
             <telerik:GridButtonColumn uniquename="grdDelete" CommandName="Delete" ButtonType="ImageButton" HeaderStyle-Width="3%">
             </telerik:GridButtonColumn>
         </Columns>
         <EditFormSettings ColumnNumber="3" CaptionFormatString="Edit details for CARC {0}" CaptionDataField="Adjustment_Reason_Code">
             <FormTableItemStyle Wrap="False"></FormTableItemStyle>
             <FormCaptionStyle CssClass="labels"></FormCaptionStyle>
             <FormMainTableStyle GridLines="Both" CellPadding="2" CellSpacing="0" Width="80%" />
             <FormStyle Width="80%" />
             <EditColumn UpdateText="Update" UniqueName="EditCmd" CancelText="Cancel"></EditColumn>
             <FormTableButtonRowStyle HorizontalAlign="Left" />
         </EditFormSettings>
         <ExpandCollapseColumn ButtonType="ImageButton" Display="false" UniqueName="ExpandBtn" HeaderStyle-Width="19px"></ExpandCollapseColumn>
     </MasterTableView>
     <ClientSettings>
         <ClientEvents OnRowDblClick="RowDblClick" />
     </ClientSettings>
 </telerik:RadGrid>
dhuss
Top achievements
Rank 1
 answered on 18 Sep 2013
7 answers
221 views
I've tried this in Chrome, FF, and IE and I only see the issue in IE so far.

I've modified the demo http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx to fit with my project. I am using the rowSelected method to call a PageMethod that checks the database for previously entered data.

Based on the results (true/false), if true I'll call the following (with my own message and title of course)
radalert('Radalert is called from the client!', 330, 100, 'Client RadAlert');

The alert box opens when I want it to but I can't get it to close in IE. I click on OK to close the radalert box and nothing happens. The radalert won't close.

However, if I plug the same code above in the

function pageLoad(sender, args)

portion of the page, I can close the radalert and any subsequent radalert boxes can be closed. Basically, in IE I have to open a radalert on pageLoad in order for any other radalert boxes to close when I click OK which is not what I want to do :)

Thoughts?

Thanks,
Joe

DAvid
Top achievements
Rank 1
 answered on 18 Sep 2013
1 answer
197 views
Hello Community,

maybe i misunderstood the radajaxloadingpanel control... So i try to explain my request.

On my Site i have a Button who opens a RadWindow (like this KreditberechnungErgebnis.OpenerElementID = lbBerechnen.ClientID).
So it does a Postback and i do something code behind.

At this Point i just want to bridge over the Postback for my Users, with the radajaxloadingpanel.
I don't want to reload any Controll on my Site.

My Code look like this:

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        var currentLoadingPanel = null;
        var currentUpdatedControl = null;
        function RequestStart(sender, args) {
            currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
 
            if (args.get_eventTarget() == "<%= lbBerechnen.UniqueID%>") {
                currentUpdatedControl = "<%= tabBearbeitung.ClientID%>";
            }
            //show the loading panel over the updated control
            currentLoadingPanel.show(currentUpdatedControl);
        }
        function ResponseEnd() {
            //hide the loading panel and clean up the global variables
            if (currentLoadingPanel != null)
                currentLoadingPanel.hide(currentUpdatedControl);
            currentUpdatedControl = null;
            currentLoadingPanel = null;
        }
    </script>
</telerik:RadCodeBlock>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="lbBerechnen">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="tabBearbeitung" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
    <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>

<asp:LinkButton runat="server" Width="100px" ID="lbBerechnen" CssClass="button-theme">
            <span class="span_outer">
                <span class="span_right">
                    <span class="span_left">
                        <span style="width: 92px;" class="span_inner">Berechnen</span>
                    </span>
                </span>
            </span>
    </asp:LinkButton>


I actually don't want this:

currentUpdatedControl = "<%= tabBearbeitung.ClientID%>";

BTW, it does not work like anyway. :)

Sorry for my bad Englich, i hope you understand me. If not i will try to explain it again.

Thank you!
Daniel
Konstantin Dikov
Telerik team
 answered on 18 Sep 2013
15 answers
510 views
I have overloaded methods and succesfully get the folders and files stored in database table. Now I`m trying to implement deleting files, but when delete first executes GetPath function which always crush the control.
What should it return, when on input I get "/Folder A/File 12", on output I have tried
null
string.Empty
"Folder A/File 12"
"/Folder A/"
"/Folder A" - in this case I get message that there are no permissions?
"/Folder A/File 12/"

Of course none of this locations exist physically, they reflect data in my table.

Marin Bratanov
Telerik team
 answered on 18 Sep 2013
1 answer
76 views
Dears , 
          i`m useing ASP MVC2 , and i have a problem with sorting RadGridView , i enable sorting like the documentation , but when i sort the column , no thing happened!!!

can any one help me in this issue?!
Eyup
Telerik team
 answered on 18 Sep 2013
1 answer
65 views
Dears, 
          I have a problem while enabling filtering grid property , the filtering portion appeared but with no function
when i typed some text and press filter button , no thing happened !!!
i`m using ASP MVC 2  
Eyup
Telerik team
 answered on 18 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?