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
V

Venk259

@Venk259
About
Posts
20
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • OutputCache Duration Maximum Value
    V Venk259

    Hi Yona low In the documentation givin by microsoft, Value for the Duration attribute in the outputcache directive is not limited, so you can use any value.

    ASP.NET question

  • differnce between
    V Venk259

    response.redirect(""); In this method the redirection to the page is sent to the browser. From the browser it is redirected to the page. i.e Process goes like this Server -> client(browser) -> Server -> client(browser) set redirect the page Page is loaded redirect command to the browser server.transfer(""); In this method the redirection to the page is done in server, so the redirect page is sent to the browser i.e Process goes like this Server -> Server -> Client(browser) Transfer transfer Page is loaded the page page is sent Note:- So response.redirect("") does call to client and then to server for loading , server.transfer("") does not call to client, but transfer in the server and load that page to the client

    ASP.NET sysadmin

  • How to add dll in asp.net 2.0
    V Venk259

    Hi Sapan, Add the com dll by following method. 1) Right click on the project->select "Add Reference" 2) Click on COM Tab, browse the dll, then click OK button Inside the page_load event, Create the object of the class which is defined in the dll. If you have namespace in the COM Dll, then use like this . then access the method from the object created. Note:- 1) unless you defined the method in the class as static or shared you cannot access the method directly. 2) you cannot access the class method in the import or using statement 3) you must declared the class as public class 4) access the method of the object created is done only in the function and cannot be done in the declaration I think this will help you to solve the problem, if you couldn't, message me.

    ASP.NET csharp c++ asp-net com help

  • AJAX UpdatePanel related
    V Venk259

    Hi larree11 You can also place the dropdownlist inside the UpdatePanel. You have one updatepanel which contains a few panels. So whenever panel is drag and dropped you want to update the dropdownlist, so better, you place the dropdownlist box inside the updatepanel and in the drag and drop features update the dropdownlist values. I think this will help you to resolve your problem

    ASP.NET database help announcement

  • How to send a form Request using asp.net?
    V Venk259

    I am not sure what you exactly telling I think you want to do these html form element in the asp.net using c# and accessing it. Steps 1) add new web page to a project. 2) click on the source button, in that form tag add action and set it to https://abc/MPI 3) add the hidden html tag add attributes runat="server". Do this for all the controls. 4) now you can access the hidden control value from code behind e.g In page_load PX_VERSION.Value give the value stored in the control. I think this what you want. if you have any doubt, post back to me.

    ASP.NET csharp question asp-net tutorial

  • How to get the "Temporary Internet Files" folder path?
    V Venk259

    Hi Jay_se To retrieve physical path folder for "temporary internet files" use the following code string strTempFldr = Environment.GetFolderPathEnvironment.SpecialFolder.InternetCache);

    ASP.NET csharp tutorial question

  • storing data into xml file from asp.net app
    V Venk259

    Hi gopalakatla, You can store & retrieve data to xml file using dataset object. In the DataSet class, WriteXml() method which take file name as argument is used to write data as xml data to the file. Through ReadXml() method which take file name as argument is used to read or loaded xml data to DataSet object. If you want operation similar to sql or oracle i.e using query, then you have to write a separate utility class for doing query operation.

    ASP.NET database csharp asp-net oracle xml

  • Password clearing when page is submitted to server
    V Venk259

    download the setup file for ajax from the site http://ajax.asp.net When you open the .net 2.0 you will see an additional section in the toolbar named Ajax Extensions. 1) Drap and drop the scriptmanager control to page 2) Drap and drop the updatepanel to the page 3) Add combo box inside the updatepanel, then write the coding, Now, only the control inside the updatepanel is refresh. so password field will not be clear. Note:- The web.config file has to be modified for making it to work using ajax, otherwise, the page will work normally i.e entire page is posted to server The sample web.config can be got from the website or from your local machine.

    ASP.NET csharp asp-net sysadmin help tutorial

  • redirecting to page when radiobutton is clicked
    V Venk259

    If you are using asp.net 1.x or 2.0, It is better you go for Server RadioButton control. Default it is not selected. CheckedChanged is fired if radiobutton is selected or deselected. In server you can use vb.net Response.Redirect(url) c# Response.Redirect(url); for redirecting the page.

    ASP.NET javascript help

  • Check the Given date is sunday or not...,
    V Venk259

    VB Code -.net 2.0 ------- Dim dateobj As Date dateobj = Now If( dateobj.DayOfWeek = DayOfWeek.Sunday) Then textbox1.Text=CInt(textbox2.Text) + CInt(textbox3.Text) Else textbox1.Text=CInt(textbox2.Text) + CInt(textbox4.Text) End If C# Code-.net 2.0 ------- DateTime dateobj; dateobj = DateTime.Now; if( dateobj.DayOfWeek == DayOfWeek.Sunday) { textbox1.Text=Convert.ToInt32(textbox2.Text) + Convert.ToInt32(textbox3.Text) } else { textbox1.Text=Convert.ToInt32(textbox2.Text) + Convert.ToInt32(textbox4.Text) }

    ASP.NET tutorial help question

  • error in IIS.
    V Venk259

    Go to IIS(type inetmgr in Run) Go to the virtual directory you have created. Right click on the Virtual directory -> properties -> ASP.NET tab -> Change the Asp.net Version to 2.0.50727 Then Refresh virtual directory

    ASP.NET help csharp asp-net windows-admin tutorial

  • Datarow Array with foreach question
    V Venk259

    Both the statement will give same efficiency. If you have a scenario where you want the result object of dtDataTable.Select("TableColumn = 1") , then go for the first statement. otherwise go for the second.

    C# help question data-structures

  • RememberMe checkbox in Login Control
    V Venk259

    Dim chkRemember As CheckBox = New CheckBox chkRemember = Me.FindControl("RememberMe") instead of the above code replace the below one Dim chkRemember As CheckBox If ( Not Me.FindControl(Login1.ID & "$RememberMe") Is Nothing) then chkRemember = CType(Me.FindControl(Login1.ID & "$RememberMe"),CheckBox) Else chkRemember = New CheckBox() End If Since At the Conversion of html , the checkbox is named as login1.ID along with the "$RememberMe". Since no such control (RememberMe) exist, you are getting error. I think it will solve your problem One important think is that alway check whether the control exist or not, then do the operation.

    ASP.NET help data-structures debugging

  • Trim Functionality in javascript
    V Venk259

    user this trim function for doing trim operation function trim(str) { str.replace(/^\s+/,'').replace(/\s+$/,''); } usage trim(document.forms[0].textbox1.value) -- modified at 9:22 Thursday 5th July, 2007

    ASP.NET javascript help

  • Windows Authentication: Logout
    V Venk259

    In the Click Event of the Logout button call this FormsAuthentication.SignOut() FormsAuthentication.RedirectToLoginPage() First statement will destroy the authentication ticket, next statement will redirect to the page, which is specified in the authentication section of web.config file.

    ASP.NET csharp asp-net security

  • context menu with textbox
    V Venk259

    hi alban, For .net 1.1 Add a context menu from the toolbox to the form, add sub menu's as required by you Then go to the textbox property,then set ContextMenu property to context menu which you have created. For .net 2.0 Add a contextmenustrip from the toolbar to the form, add sub menu's as required by you Then go to the textbox property, then set ContextMenuStrip property to context menu strip which you have created

    C# question

  • user that executes web service
    V Venk259

    Hi, Since the calling of the function in web reference is done by the asp.net user, you can't get the exact user. But you can get it in the webform using the code Request.LogonUserIdentity.Name give the exact user who is accessing the page. Request.LogonUserIdentity give the system.security.principal.windowsidentity class object.

    ASP.NET question asp-net

  • cant set text of two password fields on update page
    V Venk259

    Hi jake, I want to know what is dtr represent, if you give that details it will be easy to find any solution

    ASP.NET database csharp sql-server sysadmin

  • Form Authenication
    V Venk259

    Solution is for .net 2.0 Add these lines to the web.config the authorization is used to prevent the anonymous user. in this example my default url is text2.aspx page In login page write the following code in the button click event if (ValidateUser()) { FormsAuthentication.RedirectFromLoginPage(txtuserName.Text, false); } ValidateUser() is user-defined function where you will write the code to check whether the password given my user matches with the password available in the database. In other page's nothing is needing to write for validation

    ASP.NET database question workspace

  • Frameset problem its very urgent........ [modified]
    V Venk259

    .net does not support frame concepts. so you can use this statement i have test it with framework 2.0 c# -- if (Session.IsNewSession) { Response.Write("top.location='login.aspx';"); } vb.net -- If (Session.IsNewSession) then Response.Write("top.location='login.aspx';") End If

    ASP.NET html security help tutorial
  • Login

  • Don't have an account? Register

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