Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
464 views
First of all I am very new to ASP.NET. Been writing classic ASP for 10 years.
I have a very basic insert form that is submitting to a sql database named "Users", table named "tblUsers".. I have a field named "ImageName" that I am trying to get the file name to post to when the form is submited. The image uploads but I cannot figure out how to make the file name post to the database. I am using RadUpload and I figured you could bind the field to the database column just like you do the text fields. But I don't see how. This is all very new to me. Thanks
Peter Filipov
Telerik team
 answered on 28 Aug 2012
0 answers
87 views
Hi,
i have a problem regarding Redscheduler .
i have written custom theme for my project.
Every thing is fine in Chrome and FireFox but in IE8 theme is not working properly on one the my pages that contains RadScheduler.
css not working on radschduler in ie8.

Help me resolve this problem.
Kamran
Top achievements
Rank 1
 asked on 28 Aug 2012
1 answer
78 views
We have purchased the Developer Tools package and I need to generate an asp.net web page that displays a report that looks similar to the attached image. I would like to use the reporting tools as we want to be able to export and print easily, but I'm having some trouble determining the best way to do this. It seems that the gridview would be a better option, but it doesn't look like there is an easy way to export and/or print the radgrid...is there?

The rows with month names are to be expanded and collapsed when the user clicks on them. What would be the best way for me to approach this using the Telerik Developer tools?

Thanks in advance.
Steve
Telerik team
 answered on 28 Aug 2012
0 answers
74 views
How   to  label   data  with  "radmap"???

Quetion  one:
     How   to  use  a  pins   which   has  a  tag   to    mark   information???


Quetion  two:

     How   to  mark   the    "Energy  consumption   data"    and    "Water    consumption   data"   on  every  building  of  the  map???   
     Such  as  the  picture  attechment...

    The  picture... 
Yostec
Top achievements
Rank 1
 asked on 28 Aug 2012
2 answers
77 views
hii,
how to disable filter while editing?

thanks
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Aug 2012
1 answer
96 views
hii,,
I want to make a cloumn readonly in editing only not in insert mode,can you help me?

thanks

Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Aug 2012
1 answer
273 views
I have already trie a bunch of the solutions on the forum, but none of them seem to work.  I have a Grid control with a Detail Table contained therein.  No matter what I have tried, I cannot hide the column in the detail table.  Could it be due to the fact that the column is the data key?
<telerik:RadGrid ID="grdAgingReport" Skin="WebBlue" EnableEmbeddedSkins="false" ShowStatusBar="true" OnSortCommand="grdAgingReport_SortCommand" OnPageIndexChanged="grdAgingReport_PageIndexChanged"
Width="97%" OnPageSizeChanged="grdAgingReport_PageSizeChanged" OnItemCommand="grdAgingReport_ItemCommand" OnDetailTableDataBind="grdAgingReport_DetailTableDataBind" OnPreRender="grdAgingReport_PreRender"
 AllowSorting="True" PageSize="15" AllowPaging="True" AllowMultiRowSelection="false" runat="server" Gridlines="Both" CssClass="RadGrid_WebBlue"  HierarchyLoadMode="ServerOnDemand">
 <ExportSettings HideStructureColumns="true"/>
 <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="MainCategory">
    <PagerStyle Mode="NextPrevAndNumeric" />
    <CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="false" ShowExportToWordButton="true" ShowExportToExcelButton="true" ShowExportToCsvButton="true" />
    <DetailTables>
        <telerik:GridTableView DataKeyNames="SecondaryCategory" Name="grdTimePeriods" Width="90%" HierarchyLoadMode="ServerBind"></telerik:GridTableView>
    </DetailTables>
 </MasterTableView>   
</telerik:RadGrid>

protected void grdAgingReport_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e)
{
    if (e.DetailTableView.Name == "grdTimePeriods")
    {
        GridDataItem _GridDataItem = (GridDataItem)e.DetailTableView.ParentItem;
        string sMainCategory = _GridDataItem.GetDataKeyValue("MainCategory").ToString();
        e.DetailTableView.DataSource = BuildSecondaryTable(sMainCategory);
 
        //foreach (GridColumn _Column in e.DetailTableView.Columns)
        //    if (_Column.UniqueName.ToUpper() == "SECONDARYCATEGORY")
        //    {
        //        _Column.Display = false;
        //        break;
        //    }
    }
}
 
protected void grdAgingReport_PreRender(object source, EventArgs e)
{
    foreach (GridColumn _Column in grdAgingReport.MasterTableView.AutoGeneratedColumns)
    {
        switch (_Column.UniqueName.ToUpper())
        {
            case "MAINCATEGORY":
                _Column.Display = false;
                break;
        }
    }
 
    foreach (GridTableView _GridTableView in grdAgingReport.MasterTableView.DetailTables)
        if (_GridTableView.Name == "grdTimePeriods")
        {
            if (_GridTableView.Columns.Count > 0)
                _GridTableView.Columns[0].Visible = false;
            //foreach (GridColumn _Column in _GridTableView.Columns)
            //{
            //    if (_Column.UniqueName.ToUpper() == "SECONDARYCATEGORY")
            //        _Column.Display = false;
            //    break;
            //}
            break;
        }
}

       
Shinu
Top achievements
Rank 2
 answered on 28 Aug 2012
1 answer
92 views

I am new to telerik components. I have a telerik radgrid that retrieve data from sql server data source and does basic sorting. That sorting  does not work after I preserve radCombo values in server-side and put the radgrid code in !Ispostback(). I am aware that when grid header column is clicked for sorting, that time data gets posted back now and that is why the sorting is not working.  How to solve this issue and I don't want to take off the radgrid.datasource in page_load !Isposback().

 

if (!IsPostBack){
RadGrid1.Datasource = DataTable("select * from customer");
RadGrid1.DataBind();
}

 

Thanks in advance.

Shinu
Top achievements
Rank 2
 answered on 28 Aug 2012
1 answer
83 views
Hi,

I am looking for  a method to show a confirm window(Yes/No) on click of a LinkButton in the FormTemplate.grid. How to get this?

Thanks in advance
Princy
Top achievements
Rank 2
 answered on 28 Aug 2012
7 answers
224 views
I have a Radspell control in a cell of a table. All is fine until I try setting tabindex on the various controls on my page.  After setting Tabindexes the cell the Radspell control is on is recieving the focus not the control itself.  What am I doing wrong?

Thanks,
Gerald
TonyG
Top achievements
Rank 1
 answered on 27 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?