Click here to Skip to main content
15,886,019 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: WHAT IS SILVERLIGHT. PinPopular
thatraja14-Nov-11 21:37
professionalthatraja14-Nov-11 21:37 
QuestionProblem in playing videos on intranet portal Pin
uspatel13-Nov-11 22:34
professionaluspatel13-Nov-11 22:34 
AnswerRe: Problem in playing videos on intranet portal Pin
jkirkerx15-Nov-11 18:59
professionaljkirkerx15-Nov-11 18:59 
GeneralRe: Problem in playing videos on intranet portal Pin
uspatel15-Nov-11 19:31
professionaluspatel15-Nov-11 19:31 
QuestionURL and Routing problems - MVC model Pin
quanvt13-Nov-11 22:08
quanvt13-Nov-11 22:08 
AnswerRe: URL and Routing problems - MVC model Pin
Not Active13-Nov-11 22:43
mentorNot Active13-Nov-11 22:43 
QuestionError using Eval in asp.net Pin
Vimalsoft(Pty) Ltd13-Nov-11 20:50
professionalVimalsoft(Pty) Ltd13-Nov-11 20:50 
AnswerRe: Error using Eval in asp.net Pin
Anuj Banka13-Nov-11 21:16
Anuj Banka13-Nov-11 21:16 

CommandName='<%# GetCommandNamebunit(Container.DataItem) %>'


And in code behind

Function GetCommandNamebunit(ByVal dataItem As Object) As String
    GetCommandNamebunit = "demotext"
    GetCommandNamebunit = String.Empty
    Dim texpinnerText = DirectCast(dataItem, Object).texp
    Dim bunitinnerText = DirectCast(dataItem, Object).bunit
    Dim rexpinnerText = DirectCast(dataItem, Object).rexp
    Dim bunitid = DirectCast(dataItem, Object).id
    Dim Str_blevel
    Dim str_alig
    Dim str_TFrame
    Dim str_bunit
    Dim str_fiscalY
    Str_blevel = sltBusinessLevel.SelectedValue
    str_alig = sltAlignmentLevel.SelectedValue
    str_TFrame = sltTimeFrame.SelectedValue
    str_bunit = sltBusinessUnit.SelectedValue
    str_fiscalY = sltFiscalYear.SelectedValue
    If str_alig = 1 Then
        If Str_blevel < 4 Then
            If texpinnerText <> "0" Then
                GetCommandNamebunit = "sendModuleValues"
            End If
        Else
            If texpinnerText <> "0" Then
                GetCommandNamebunit = "setonefacility"
            End If
        End If
    Else
        If Str_blevel < 3 Then
            If texpinnerText <> "0" Then

                GetCommandNamebunit = "sendModuleValues"
            End If
        Else
            If texpinnerText <> "0" Then
                GetCommandNamebunit = "setonefacility"
            End If
        End If
    End If
End Function

This is working fine for you can take help from this.
Anuj


modified 14-Nov-11 3:24am.

QuestionDeveloping Employee Portal - Database design question. Pin
Sunil Kokkiligadda13-Nov-11 17:34
Sunil Kokkiligadda13-Nov-11 17:34 
AnswerRe: Developing Employee Portal - Database design question. Pin
biop.codeproject14-Nov-11 15:04
biop.codeproject14-Nov-11 15:04 
GeneralRe: Developing Employee Portal - Database design question. Pin
Sunil Kokkiligadda15-Nov-11 6:11
Sunil Kokkiligadda15-Nov-11 6:11 
GeneralRe: Developing Employee Portal - Database design question. Pin
biop.codeproject15-Nov-11 12:56
biop.codeproject15-Nov-11 12:56 
QuestionHow to protect a page requested only by an external tool or administrator? Pin
TRAORE cheickna13-Nov-11 6:40
TRAORE cheickna13-Nov-11 6:40 
AnswerRe: How to protect a page requested only by an external tool or administrator? Pin
thatraja13-Nov-11 8:40
professionalthatraja13-Nov-11 8:40 
QuestionListView and DataPager in Update Panel Pin
cowcow1234513-Nov-11 6:13
cowcow1234513-Nov-11 6:13 
AnswerRe: ListView and DataPager in Update Panel Pin
thatraja13-Nov-11 8:49
professionalthatraja13-Nov-11 8:49 
GeneralRe: ListView and DataPager in Update Panel Pin
cowcow1234514-Nov-11 1:11
cowcow1234514-Nov-11 1:11 
QuestionHide my flash in iframes Pin
benams13-Nov-11 1:04
benams13-Nov-11 1:04 
AnswerRe: Hide my flash in iframes Pin
Not Active13-Nov-11 3:19
mentorNot Active13-Nov-11 3:19 
AnswerRe: Hide my flash in iframes Pin
Dennis E White14-Nov-11 6:41
professionalDennis E White14-Nov-11 6:41 
QuestionHow to implement an asynchronous code? Pin
TRAORE cheickna12-Nov-11 13:04
TRAORE cheickna12-Nov-11 13:04 
AnswerRe: How to implement an asynchronous code? Pin
Not Active12-Nov-11 16:21
mentorNot Active12-Nov-11 16:21 
Questioncontrols in asp.net Pin
Member 821751712-Nov-11 5:33
Member 821751712-Nov-11 5:33 
AnswerRe: controls in asp.net Pin
Dennis E White12-Nov-11 18:55
professionalDennis E White12-Nov-11 18:55 
Questionweb controls Pin
sc steinhayse11-Nov-11 5:55
sc steinhayse11-Nov-11 5:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.