Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Anuj Banka

@Anuj Banka
About
Posts
27
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Avoid Refer of page on Menu Item click.
    A Anuj Banka

    To stop this you can use Iframe to open your page. But it will effect on your application performance.

    ASP.NET help

  • Error using Eval in asp.net
    A Anuj Banka

    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

    ASP.NET csharp asp-net com help

  • want code to be executed automatic on server every 5 minutes
    A Anuj Banka

    You can create a window service which will do whatever you want to do and run on sevrer Or SQL JOB This service or job will run on server where you have database for this application. In database you can take a flag for Repeated meetings.This service will check that flag and send the mails.

    C# help csharp database sysadmin collaboration

  • setting up start up page
    A Anuj Banka

    You can't set master page as start up page. You have to set any of content page as master page. This content page first execute the master page part and then content page code.

    ASP.NET help csharp visual-studio

  • I want to catch event when user close page.
    A Anuj Banka

    With the help of Jquery you can call code behind function somthing like this HTML Part: <script src="jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> function confirmSubmit() { $.ajax({ url: '/WebSite2/Default.aspx/SecretFormula', type: 'POST', contentType: 'application/json', data: '{}', success: function(result) { alert(result.d); } }); alert("I am in "); } </script> </head> <body onbeforeunload="confirmSubmit()"> <form id="form1" runat="server">

    </form> </body> </html> Code Behind Function:

    ** _**

    Public Shared Function SecretFormula() As Integer Return 42 End Function

    ASP.NET question

  • I want to catch event when user close page.
    A Anuj Banka

    you can use this to catch close event for the page using this. < body onbeforeunload="alert('Closing');">

    ASP.NET question

  • All day event in .ics
    A Anuj Banka

    you can check this link Link[^] May be it will be helpfull to you

    ANuj

    ASP.NET com announcement

  • Horizontal Scrollbar, GridView and Styles
    A Anuj Banka

    You are saying browser for all is same but the resolution may be different. Check with the different resolutions.

    ANuj

    ASP.NET csharp html css asp-net visual-studio

  • I want to force webpage to IE9 compability mode.
    A Anuj Banka

    <meta http-equiv="X-UA-Compatible" content="IE=8"> <meta http-equiv="X-UA-Compatible" content="IE=7"> and here is the link you can read about meta tags Link For Meta Tags[^]

    ANuj

    ASP.NET javascript question css design sysadmin

  • How to keep the root path in the browser's addressbar
    A Anuj Banka

    Always welcome dear :) If My post is helpfull to you then please give rating to my reply.

    ANuj

    ASP.NET csharp asp-net tutorial question

  • c#.net login pages
    A Anuj Banka

    You can take some application label variable for storing USerID at the time of login

    C# csharp help tutorial

  • SQL Automatic backup
    A Anuj Banka

    Create a SP that will Take Backup of The Required dataBase And Run The SP through SQl JOb

    Database database sql-server sysadmin tutorial

  • How to keep the root path in the browser's addressbar
    A Anuj Banka

    Yes BY URL Rewriting Check these links: http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx[^] http://msdn.microsoft.com/en-us/library/ms972974.aspx[^] Or YOu can also Use MVC3

    ASP.NET csharp asp-net tutorial question

  • Can we use control properties in windows forms from a user control create in Wpf .and currently we are using user control in windows forms....
    A Anuj Banka

    sorry first for long title.. I mean to say that if i have 3 controls in user control. den can i access events of that controls in my windows forms

    WPF csharp wpf winforms

  • Can we use control properties in windows forms from a user control create in Wpf .and currently we are using user control in windows forms....
    A Anuj Banka

    Can we use control properties in windows forms from a user control create in Wpf .and currently we are using user control in windows forms....

    WPF csharp wpf winforms

  • Implementing logout functionality for web application
    A Anuj Banka

    cgs ans not wrong but if we hav secure page in our site. user can view secure information

    ASP.NET help

  • Implementing logout functionality for web application
    A Anuj Banka

    U means u disable ur back button in ur whole project.

    ASP.NET help

  • Implementing logout functionality for web application
    A Anuj Banka

    What logic u applied.Beacuse back button take page from cache.so it take old session value. so to avoid this wat u did? I also want to know

    ASP.NET help

  • can we use wpf controls in window's application .
    A Anuj Banka

    ohh sorry i thought u not understand wat i m tring to say

    WPF csharp wpf graphics tutorial question

  • can we use wpf controls in window's application .
    A Anuj Banka

    I dont want to change the whole application. I want to apply WPF graphics on some of my pages. IS its possible???????????

    WPF csharp wpf graphics tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups