Telerik Forums
Community Forums Forum
2 answers
250 views
With a great deal of pride, the telerik team is pleased to announce that the r.a.d.controls are now not only AJAX-ified but are also Atlas-ified and that makes us the first major vendor to officially offer support for Microsoft Atlas' latest CTP. You can read my blog post at:
http://blogs.telerik.com/blogs/vt/archive/2006/05/03/205.aspx

If you want to get all the tech details, you can take a look at the dedicated Atlas-readiness page:
http://www.telerik.com/asp-net-controls/atlas.aspx

Vassil
Vassil
Top achievements
Rank 1
 answered on 05 May 2006
6 answers
234 views

Hi

Am I the only one experiencing that access to the telerik website most of the time is really slow?

Best Regards

Flemming Brink Rosenbrandt

Natalie Farah
Telerik team
 answered on 04 May 2006
1 answer
295 views
I have been hearing a lot of buzz about some Telerik merchandise coming soon. I found this post by Rumen:

Well, telerik points currently can be used towards your next purchase, however this can will change soon. We plan to provide some telerik merchandize which you will be able to purchase with the points (t-shirts, cups, iPods, Xbox's, etc). Hopefully, the interest will be high enough to get the telerik craze going ;)


Sincerely yours,

Rumen
the telerik team

I am all about iPods and Xbox's. Let's get this Telerik craze going... Does any body know what else may be offered? Also, what kinds of things do you think Telerik could offer for points?

 - Johnathon




Adrian Brunson
Top achievements
Rank 1
 answered on 03 May 2006
4 answers
312 views
Hi everyone,

I noticed the telerik people created a nice place for our peer-to-peer chit-chat ;-)

I was thinking - why not post some blogs/rss feeds I regularly read ? Here you go:
http://blogs.msdn.com/tess/rss.aspx
http://www.microsoft.com/technet/security/bulletin/secrss.aspx
http://msdn.microsoft.com/code/rss.xml
http://weblogs.asp.net/scottgu/Rss.aspx
http://www.sysinternals.com/sysinternals.xml

Greetings,

Cappaert Luc
Johnathon Sprouse
Top achievements
Rank 1
 answered on 02 May 2006
1 answer
225 views
I'd like to make a suggestion. I like going through forums and seeing other peoples issues with certain controls and the fixes, that way when I come across a similar issue I'll already know the solution.

But the support tickets that people post aren't listed, perhaps adding an option to let our support tickets to be listed. I would more than welcome sharing mine.

This also may reduce the number of tickets you receive about the same issues.

Just an idea,
James
Paul
Telerik team
 answered on 01 May 2006
3 answers
116 views
Hello,
when we make new post in forums or Client.net system do some tasks
1. the unread icon shown in left side of title for all users
2. a mail will send to all user subscribe this thread except the post author

I think Telerik most remove the unread icon from list for the author of page.

Excuse me english isn't my native language

Best Regards
Vassil Petev
Telerik team
 answered on 27 Apr 2006
0 answers
193 views
I found this really cool open source piece of software that might be of use to you guys. 

"The main control is the BusyBox control, which can be used to show a customizable box inside web pages during time consuming activities, a very useful behaviour especially during long processing tasks, in order to inform the user that something is actually happening. Typical time consuming tasks are file uploads, complex queries against databases, heavy load operations in application code, or heavy pages which require some time to be rendered by the browser. "

http://busybox.sourceforge.net/
Lorne Green
Top achievements
Rank 1
 asked on 27 Apr 2006
0 answers
111 views
I used to like that company... until now:

If Philips has their way you may not be skipping through TV commercials much longer. In fact, you might not even be able to change the channel on your TV during a commercial.

Philips has filed a patent application to stop people from changing channels during commercials or fast forward commercials for pre-recorded shows. According the patent application, Philips solution is to use MHP (Multimedia Home Platform) to read flags in broadcasts. If an advertisement is marked as such, your STB (Set-Top Box), DVR or even your TV could stop you from changing the channel or skipping past commercials. MHP software is already built into most digital TV receivers and recorders available today.

Philips knows that the patent would be "greatly resented by viewers" and could even cause end users to believe their equipment is broken. To remedy this, Philips suggests that the flag also trigger a notice on the screen to notify users of what is going on.

The patent application also suggests that end users be able to pay a fee to be allowed to skip commercials. The fee would probably be set by your cable or satellite provider.

As we move into the digital age, it seems more and more that we as consumers are at the mercy of these big companies. This is starting to look like the Telco business. First we have Caller ID, then Caller ID blocking, and now Anti-Caller ID blocking. What’s next, anti-commercial forwarding blocking?
Paul Ganeff
Top achievements
Rank 1
 asked on 26 Apr 2006
0 answers
96 views
Hi guys, I found some GREAT rainbow photos which were taken at the Elam Bend Conservation Area near McFall, Missouri:

http://www.missouriskies.org/rainbow/february_rainbow_2006.html


ENJOY!

Valeri Hristov
telerik development team
Valeri Hristov
Top achievements
Rank 1
 asked on 21 Apr 2006
4 answers
206 views
This took me a couple hours to polish this off so that it works flawlessly for my needs; perhaps it can save somebody else some time down the road as well.  There are two classes listed below - one for the actual conversion and another "helper" that I use all the time.  I apologize for the formatting...still haven't figured out how to do it on the telerik forums.

Basically this will allow you to take a specified Access DB and move all the tables and all the data in those tables to a SQL Server DB of your choice.  The real beauty of this is that it allows you to combine several access DBs into a single SQL Server DB - provided there are no duplicate table names throughout the Access DBs.  This is good for remote hosting accounts that usually only let you have a single DB whereas multiple Access DBs were commonplace.  It would be prudent for the DBA to check the new database and setup the relationships / constraints, as well as to mark any identity (autonumber) columns in the new DB (it does NOT do this now because it would never be able to copy the foreign key relationships if the IDs weren't kept the same).  Anyways, here it is...


Imports Microsoft.VisualBasic
Imports System.Data
Imports System.Data.OleDb
Imports System.Data.SqlClient

Public Class ConvertAccessToSqlServer2005

    Public Sub Convert()
        ' Connection to current dbCode
        Dim db As New DbCon
        ' Declare SQL String to be used elsewhere
        Dim strSQL As String = ""
        ' Declare the connection to the Sql Server 2005 Database
        Dim SqlCon As New SqlConnection(ConfigurationManager.ConnectionStrings("LocalSqlServer").ConnectionString)
        ' Retreive all the table names from the Access Database
        Dim AccessCon As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|ACCESSDBNAME.mdb;Persist Security Info=True")
        Dim dtAccessTables As New DataTable
        AccessCon.Open()
        dtAccessTables = AccessCon.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, New Object() {Nothing, Nothing, Nothing, "TABLE"})
        AccessCon.Close()
        ' For each table, drop & create the table in SQL Server 2005
        For Each rTable As DataRow In dtAccessTables.Rows
            strSQL = "DROP TABLE [" & rTable("TABLE_NAME") & "]"
            db.dbExecuteNonQuery(strSQL)
            ' Get the schema for every table
            Dim dtTableInfo As New DataTable
            Dim AccessDap As New OleDbDataAdapter("SELECT TOP 1 * FROM [" & rTable("TABLE_NAME") & "]", AccessCon)
            AccessDap.FillSchema(dtTableInfo, SchemaType.Mapped)
            Dim name, type, length As String
            Dim COLS As String = ""
            ' Get column information for every table
            For Each c As DataColumn In dtTableInfo.Columns
                name = c.ColumnName
                type = c.DataType.Name
                length = c.MaxLength
                Select Case type
                    Case "String"
                        If c.MaxLength > 255 Then
                            type = "text"
                        Else
                            type = "nvarchar(" & c.MaxLength & ")"
                        End If
                    Case "Boolean"
                        type = "bit"
                    Case "DateTime"
                        type = "datetime"
                    Case Else
                        type = "int"
                End Select
                ' Leave Auto-Incrementing alone to allow for the data to be properly copied
                ' Unique columns are always Primary Keys in my databases
                If c.Unique = True Then
                    If c.AllowDBNull = True Then ' HIGHLY unlikely
                        COLS += "[" & name & "] " & type & " PRIMARY KEY,"
                    Else
                        COLS += "[" & name & "] " & type & " PRIMARY KEY NOT NULL,"
                    End If
                Else
                    If c.AllowDBNull = True Then
                        COLS += "[" & name & "] " & type & ","
                    Else
                        COLS += "[" & name & "] " & type & " NOT NULL,"
                    End If
                End If
            Next
            ' Create the table in Sql Server 2005
            strSQL = "CREATE TABLE [" & rTable("TABLE_NAME") & "] (" & Left(COLS, COLS.Length - 1) & ")"
            db.dbExecuteNonQuery(strSQL)
            ' Get all the table data from Access
            Dim dtTableData As New DataTable
            AccessDap = New OleDbDataAdapter("SELECT * FROM [" & rTable("TABLE_NAME") & "]", AccessCon)
            AccessDap.Fill(dtTableData)
            ' Copy each row to Sql Server 2005
            For Each r As DataRow In dtTableData.Rows
                Dim Columns As String = ""
                Dim Values As String = ""
                For Each c As DataColumn In dtTableData.Columns
                    If Not r.IsNull(c.ColumnName) Then
                        Columns += "[" & c.ColumnName & "],"
                        Select Case c.DataType.Name
                            Case "String"
                                Values += db.qc(r(c.ColumnName))
                            Case "Boolean"
                                Values += db.bc(r(c.ColumnName))
                            Case "DateTime"
                                Values += db.dc(r(c.ColumnName))
                            Case Else
                                Values += db.c(r(c.ColumnName))
                        End Select
                    End If
                Next
                strSQL = "INSERT INTO [" & rTable("TABLE_NAME") & "] (" & Left(Columns, Columns.Length - 1) & ") VALUES (" & Left(Values, Values.Length - 1) & ")"
                db.dbExecuteNonQuery(strSQL)
            Next
        Next
    End Sub
End Class


Imports System.Web.Security
Imports System.Data
Imports System.Data.SqlClient

Public Class DbCon

    Public Function dbGetDataset(ByVal strSQL As String) As DataSet
        Dim dbCon As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("localSqlServer").ConnectionString)
        Dim dbDap As New SqlDataAdapter(strSQL, dbCon)
        Dim dstReturn As New DataSet
        Try
            dbDap.Fill(dstReturn)
            Return dstReturn
        Catch ex As Exception
            Return Nothing
        End Try
    End Function

 Public Function dbExecuteNonQuery(ByVal strSQL As String) As String
        Dim dbCon As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("localSqlServer").ConnectionString)
        Dim dbCmd As New SqlCommand(strSQL, dbCon)
        Try
            dbCon.Open()
            Dim intReturn As Integer = dbCmd.ExecuteNonQuery()
            dbCon.Close()
            dbCon.Dispose()
            If InStr(strSQL.ToUpper, "@@IDENTITY") Then                   ' Return the new Identity
                Return intReturn
            Else
                If intReturn = 1 Then
                    Return "Success"
                Else
                    Return intReturn & " records affected"
                End If
            End If
        Catch ex As Exception
            dbCon.Close()
            dbCon.Dispose()
            Return ex.Message
        End Try
    End Function

    Public Function dbExecuteScalar(ByVal strSQL As String) As Object
        Dim dbCon As SqlConnection = New SqlClient.SqlConnection(ConfigurationManager.ConnectionStrings("localSqlServer").ConnectionString)
        Dim dbCmd As New SqlCommand(strSQL, dbCon)
        Try
            dbCon.Open()
            Dim ojReturn As Object = dbCmd.ExecuteScalar
            dbCon.Close()
            dbCon.Dispose()
            Return ojReturn
        Catch ex As Exception
            dbCon.Close()
            dbCon.Dispose()
            Return ex.Message
        End Try
    End Function      ' Returns the first column from the first row based on the SQL String

    Public Function q(ByVal strField As String) As String
        Return " '" & strField.Replace("'", "''") & "'"
    End Function      ' Quotations, Replace Apostrophe, No Comma

    Public Function qc(ByVal strField As String) As String
        Return " '" & strField.Replace("'", "''") & "',"
    End Function      ' Quotations, Replace Apostrophe, Comma

    Public Function c(ByVal dblField As Double) As String
        Return " " & dblField & ","
    End Function      ' Comma

    Public Function d(ByVal datField As Date) As String
        Return " '" & datField & "'"
    End Function      ' Date, No Comma

    Public Function dc(ByVal datField As Date) As String
        Return " '" & datField & "',"
    End Function      ' Date, Comma

    Public Function b(ByVal blnField As Boolean) As String
        If blnField = True Then
            Return " " & 1 & ""
        Else
            Return " " & 0 & ""
        End If
    End Function      ' Boolean, No Comma

    Public Function bc(ByVal blnField As Boolean) As String
        If blnField = True Then
            Return " " & 1 & ","
        Else
            Return " " & 0 & ","
        End If
    End Function      ' Boolean, Comma

End Class




Enjoy!

Shaun Peet
Top achievements
Rank 2
 answered on 17 Apr 2006
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?