Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
331 views

I would like to add a functionality only on insert/ Add new record

The functionality is to search by the active directory ID and prepopulate the first and last names-

I have three textboxes 1) ID 2) first name 3) last name, I am planning on putting a link button adjacent to ID textbox and once the textbox is filled, show the link button and clicking on it will prepopulate the first and last names by querying the AD and getting those values and assigning them to first/last name textboxes respectively and also show an error when ID entered is wrong

I tried this outside of a grid and its working fine and I even tried this with autocomplete box but not able to get this working when it is within the radgrid

 Please help

 

 

 


 

I would like to add a linkbutton next to the textbox which after putting the Active directory ID

Eyup
Telerik team
 answered on 03 Dec 2015
1 answer
104 views

I have a process that processes records.  Sometimes it's 10...sometimes it's hundreds.  I would like to give my users some sort sort of real time update of what is going on other than a RadProgressArea.  A RadProgressArea is only good for what is going on for the current record.  So let's say today I'm loading 5 records.  I push the load button and the process grabs records 1...it processes it and the record is accepted.  I would like to now let the user know this and move on to the second record that is perhaps rejected.  Now I would like to display this as the next record in list. So far all of my efforts have produced a grid or a list that updates after the process completes.  Another words I'm looking for some sort of a live process status update something or other.  Anyone got any ideas?

 

Thanks in advance.  

Konstantin Dikov
Telerik team
 answered on 03 Dec 2015
1 answer
213 views

Hello everyone,

 

I have a small issue with clearin filter with my grid, the skin that I use is silk and has the EnableHeaderContextFilterMenu on "true". But when I want to use a different filter the other filters won't be cleared also when I call: grid.get_masterTableView().get_filterExpressions().clear(); . So how is it possible to clear all my filters after I fire a new on my grid>

 

For filtering I use clientside script this is my script for filtering the grid,

 

Thank you for your help. :)

function AddFilterExpressionbetween(columnUniqueName, dataField, filterValueFirst, filterValueSecond) {
 
    var grid = $find("<%=RadGrid1.ClientID%>");
 
     
    grid.get_masterTableView().get_filterExpressions().clear();
    grid.get_masterTableView().rebind();
    grid.get_masterTableView().filter(columnUniqueName, startDate + " " + endDate, Telerik.Web.UI.GridFilterFunction.Between, true);
     
    
}

 

 

Eyup
Telerik team
 answered on 03 Dec 2015
5 answers
167 views

Ajax Manager executing Code behind but not updatingLabel Value. My Code are below

.ASPX PAge 

 

 <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">

    function textChange()
            {
              var argument= "cbkDupeCreateAccountEmail_Callback|"+ $('#' + '<%= txtEmailAddressTest.ClientID %>').val();
                     $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("cbkDupeCreateAccountEmail_Callback");
            }

    
    </script>

</telerik:RadCodeBlock>

 <telerik:radajaxmanager id="RadAjaxManager1" enableajax="true" onajaxrequest="RadAjaxManager1_AjaxRequest"
        runat="server">
            <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"  >
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTextBox1" />
            </UpdatedControls>
            </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:radajaxmanager>    
    <asp:TextBox ID="txtEmailAddressTest" runat="server" onblur="textChange();" maxlength="50" meta:resourcekey="txtEmailAddressTestResource1"> </asp:TextBox>     

And In .CS (Code behind)

 protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
        {
            RadTextBox1.Text = txtEmailAddressTest.Text; 
        }

 

 

Eyup
Telerik team
 answered on 03 Dec 2015
1 answer
250 views

Hi,

  I want to bind image to radcombobox and iits composite control and in attribute i am binding image but its no displaying image please help!!

 

  private static RadComboBoxItemData ConvertData(IAutoCompleteItem item)
        {
            var data = new RadComboBoxItemData();
             
            foreach (KeyValuePair<string, object> itm in item.Attributes)
            {
              //  data.Attributes[itm.Key] = itm.Value;
                //string imageURL = string.Format(null, "<div class=\"bed_priority_field\"><img src=\"../img/assignment_{0}.png\" /></div>", "priority");
                
                //    data.Attributes["style"] = "background: url(" + imageURL + ");background-repeat:no-repeat;";
              
                //  _radItem.Attributes["imgpath"] = "../img/assignment_priority.png";
                data.Attributes[itm.Key] = "<html>< head></head><body><img src=\"../img/assignment_priority.png\" /></body></html>";
                  
            }

            data.Text = item.Text;
            data.Enabled = item.Enabled;
            data.Value = item.Value;
            return data;
        }

Nencho
Telerik team
 answered on 03 Dec 2015
3 answers
213 views
Exploring the new spreadsheet component and it sounds very promised to one of my upcoming project. The customer has an excel data sheet with many scientific formulas built-in. I want to build an excel template based on its original formula (locking the formula column) and bind the data with a table in the SQL database. Can you advise if this new component is better than Grid component for this purpose? Do you have any example to follow? Thanks
Bozhidar
Telerik team
 answered on 03 Dec 2015
3 answers
210 views

 HI Community

 

I have a radcombobox with checkboxes. i like check all items bases on an ; delemited string. 

i'm looping an array and if i find the value i set the checked option to true. 

when i debug the code im getting to the part where i the checked = true ..... but when i open the box the value is not checked

 

any suggestions why it happens ? 

thanks 

Dennis 

 

                foreach (string Fund in aFunds)
                {


                    if (cbFunds.FindItemIndexByText(Fund) != -1)
                    {

                        cbFunds.FindItemByText(Fund).Checked = true;

                    }


                }

Eyup
Telerik team
 answered on 03 Dec 2015
1 answer
186 views

Hi

We're using the SQL DB adaptor approach to store images for use in your RadEditor / ImageManager.  Our CMS platform enables us to load thumbnail size versions of those images, however I can only see a way to supply ONE image url through when loading the image list, and no way to modify that URL when a user clicks to load the full size image up in the right hand preview panel.  There doesn't seem to be any onLoad type event I can hook to which would allow me to alter that preview image url.  

To be clear, the intention here would be to use a thumbnail url for the thumbnail listings of all images, but then to use the full size image version in the right hand side preview panel when they click on an individual image.

 Is this possible?

 Thanks

 

Vessy
Telerik team
 answered on 02 Dec 2015
1 answer
72 views

Hi,

 i kept RadTreeView inside Div where that div is having runat=server 

Collapse/Expand is not functioning

 <div class="divPanels" id="divTenants" runat="server">

 <telerik:radtreeview id="TreeView1" width="350px" runat="server" checkboxes="True" skin="TreeViewSkin" enableembeddedskins="False" onclientnodechecked="clientNodeChecked" height="240px"/>

</div >

Please help me.

Veselin Tsvetanov
Telerik team
 answered on 02 Dec 2015
1 answer
299 views

Dear Telerik Team,

 I am having the table with parent child details in the same table.

  1. id - 11 , parent - 1, name - aaa
  2. id - 12, parent - 11, name - aab
  3. id - 13, parent - 11, name --aac
  4. id - 14, parent - 13, name -aad
  5. id - 15, parent - 14, name - aae , and so on...

Now I want to create the hierarchy grid using this parent child relation. Any my table can have multiple levels,

Is there any chance to use only the parent-child id's, with out defining the details tables for every level??

 

Thanks 

Alex

 

Viktor Tachev
Telerik team
 answered on 02 Dec 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?