Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
100 views
hello,

im on an older version of RadControls for ASP.NET AJAX ("2009.2 826") but i think the answer to my question should be pretty straight-forward.

i have a RadGrid that lists items on a page. these rows include the use of a GridButtonColumn of type Delete, like so:

<Telerik:GridButtonColumn CommandName="Delete" ButtonType="LinkButton" Text="Delete" UniqueName="deleteColumn" />

... my question -- how can i disable the visibility of this column on a per-row basis, dependent on the value of another column in the grid's DataSource? some rows are something i want the user to be able to delete, some rows are not. the rows that cannot be deleted should still allow the user to edit the row via the GridEditCommandColumn we're also using.


thanks!
matt
matt
Top achievements
Rank 1
 answered on 05 Feb 2011
1 answer
116 views
Hi,
In the Telerik Rad Scheduler, I want to separate admin control and user control and whatever changes the admin makes to the schedule should be reflected in the user view with a button click.

For Example: If the admin changes the timings and clicks the button it shud be reflected in the main schedule of the user also, but the user should noy have all the powers of the admin.He should be able to just select appointments.
But, I am unable to do that.Can anyone help me in guiding ?
Veronica
Telerik team
 answered on 05 Feb 2011
4 answers
128 views
Hi,

I have a wordpress blog sitting in one of the folders of my website, which is using RadCompression. I found that all log-in requests to the php blog were not processed, because all requests were going through the RadCompression module, which duly froze when it did not know how to handle the php log-in request. One of the guys from the hosting site fixed this by adding a Web.config file to that Wordpress folder:
<configuration>
<system.webServer>
<modules runAllManagedModulesForAllRequests="false">
<remove name="RadCompression"/>
</modules>
<httpErrors errorMode="Detailed" />
<rewrite>
    <rules>
        <rule name="Main Rule" stopProcessing="true">
            <match url=".*" />
            <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
            </conditions>
            <action type="Rewrite" url="index.php" />
        </rule>
    </rules>
</rewrite>
</system.webServer>
</configuration>

This worked fine.

Here's the part I don't understand. He also made a change to the main Web.config file (for the whole site). Namely, he added two appSettings items:
<appSettings>
    <add key="Telerik.Skin" value="Black"/>
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/><!-- this was added -->
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/><!-- this was also added -->
</appSettings>

Why is this necessary ? (It breaks if I remove those two new keys).
And does this mean I am using the TelerikCdn?

Cheers
David
Top achievements
Rank 1
 answered on 05 Feb 2011
0 answers
84 views

Hi

I need to achieve the following;

Have variable length formatted html text and a tick box in a container control such that the container control has a scroll bar to allow user to scroll down to the end of text and make the tick box visible for the user to tick.

What controls/technique can I use to achieve this? Any pointers would be appreciated.

Many Thanks

Regards

John
Top achievements
Rank 1
 asked on 05 Feb 2011
3 answers
213 views
What is the best way to change the CSS of the selected and Parent nodes in a tree?  Basically I want to mark the path to the current selected node in the tree by either making it Bold or setting it do a different font color.
Stefan
Top achievements
Rank 1
 answered on 04 Feb 2011
1 answer
119 views
Hi,

I'm trying to get 2 related comboboxes to work in a formview (when you select an option from the 1st combobox then the 2nd one is populated by using the selected value from the 1st combobox as a parameter/filter).
The example for this on the Telerik site doesn't take into account controls in a formview or the fact that there might be form templates for Insert & Edit so the example fails.

Can you please let me know how i can get simple related combobox functionality (both combobox's are populated from a data source) to work when comboboxes are within a templated formview?

Regards,

Shuja 
Cori
Top achievements
Rank 2
 answered on 04 Feb 2011
3 answers
102 views
Hi,

I am using a RADFileUpload control. The file is first uploaded into a temporary location by the file upload control. From this temp location, my code copies this file into a repository. Once the file is copied into the repository, the temp file will be deleted automatically by the upload control. This is working fine with small files(upto 500MB). But for large files(1GB), when the file is being copied into the repository the uploader reuploads the same file into the temporary location rather than waiting for the copy process to complete and delete the temporary one. I am not sure why this is happening. Could you please help me to solve this issue?

Thanks,
Arun
Cori
Top achievements
Rank 2
 answered on 04 Feb 2011
2 answers
118 views
I'm using the RadControls for ASP.NET, specifically the MultiPage control and the tree view.

I'm trying to load a MultiPage control at runtime with a variable number of pageviews (about 5) with a tree view in each pageview.  Before the code runs the multipage control has one pageview control that is empty.  My code first creats a treeview in memory and adds the treeview to the existing pageviews controls collection.  Then the code runs through a loop to generate a new pageview in memory, generate a tree view in memory, add the tree view to the new pageview contols collection, and finally add the pageview to the multipage controls collection.  In theory this should work.  But in my case it's not.  When the page displays I don't see the control at all.  By looking at the html source I can see that the MultiPage did render along with the original pageview.  There is also a tree view inside the pageview as expected (except I can't see it).  But the strange part is that the other pageviews that were created at runtime are not there.  I'm guessing there is a property I'm missing to show the first pageview that is hidden in the html.  But I can't figure out why the other four pageview controls are not getting added to the collection.

Please help.
Kellie
Top achievements
Rank 1
 answered on 04 Feb 2011
5 answers
100 views
I have a page where I have placed 2 RadGrids for testing purposes.
the 2 grids are filled by the same data; but Grid 1 is binded automatically via an SQLDataSource, and Grid 2 is binded manually in my vb code.
I have a created a procedure to handle the update command of each grid.

The update event for grid 1 is executed successfully.
The update event for grid does not execute any statement of the procedure which makes me think that the i have to do something different for cases when a grid is binded manually:

For the record:
- all grids are using templates that are identical.
- the templates have buttons that are set to Update Command.

Can someone help me with this?
Arnaud
Top achievements
Rank 1
 answered on 04 Feb 2011
15 answers
219 views

Hi guys,
before I export grid to pdf I need to write couple of titles lines include header from another grid.My pdf format should look like this:
Title: NYC DEPT OF EDUCATION
        BUREAU OF COMPENSATION
        ROSTER - 9/08 thru 06/09
 Header coming from another grid:
        TOTAL DAYS - 80 TOTAL AMOUNT - 1900
 And then detail data which I exporting to PDF.

Please help me with that issue.So far I only have the following code:
PriReportGrid.ExportSettings.Pdf.PageTitle = "NEW YORK CITY DEPT.OF EDUCATION ";
PriReportGrid.MasterTableView.ExportToPdf();

 

 

Thanks so much      

Daniel
Telerik team
 answered on 04 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?