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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
K

kvPriya

@kvPriya
About
Posts
18
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Communicate with linux server from .net application
    K kvPriya

    Hi, How can we communicate with linux server from .net application? I need to upload/download files to linux server using .net desktop/web application preferably using sftp. -Thanks, Priya.

    ASP.NET csharp sysadmin linux question

  • communicate with linux server from .net application in windows
    K kvPriya

    Hi, How can we communicate with linux server from .net application? I need to upload/download files to linux server using .net desktop/web application preferably using sftp. -Thanks, Priya.

    C# csharp sysadmin linux question

  • javascript to access, a .net server side control in javascript function
    K kvPriya

    You cab try this... var text1=document.getElementById("<%=textboxname.ClientID %>"); to access server side control. And text1.value.length to get the length of its content. -Vishnu Priya

    ASP.NET csharp javascript com sysadmin help

  • Help DataGrid not Editting
    K kvPriya

    Hi, You might have bound the grid twice in code behind page after setting the edit index property to the grid.Please check it once. And, you have not mentioned the compile tme error when you try to write OnCancelCommand or OnDeleteCommand. -Priya

    ASP.NET help html json announcement

  • Gridview cross page data transfer
    K kvPriya

    Sure… Hope you understand that window.open(…..); should be written in javascript function which will be called when the user clicks the link of the parent gridview. And in child window , I think, it is better to add an auto generated select button instead of a checkbox, if that doesn’t serve for a special purpose other than to indicate the desired row. Because, it may be ambiguous, if you check multiple checkboxes at a time. If you add select button, the user can select the desired row and click the button. In button click, //assign the primary key value of the selected row into a session variable //For this, you should have assigned the primary key field to the DataKeyNames property //in the design mode(or at codebehind) of the gridview Session(“var1”)=gvChild. SelectedDataKey.Value.ToString(); String scriptSubmit== " window.opener.document.forms(0).submit(); "; If(!Page.ClientScript.IsClientScriptBlockRegistered(scriptSubmit)) Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "script", scriptString); string ScriptClose = " window.close();"; Page.ClientScript.RegisterClientScriptBlock(this.GetType, "Close", ScriptClose); In parent window page load, if(Session(“var1”)!=””) { //do the required using this session variable since this holds the primary key value of the record // I’ve not written the code because I’m not aware of your exact requirement whether insertion or modification) Session(“var1”)=””; 00000//better to clear the session even in the Session_End event of global.asax } Hope this may help you. You are welcome, if you have any queries regarding this. -Vishnu Priya

    ASP.NET question database

  • Gridview cross page data transfer
    K kvPriya

    If you want to use pop up window for child gridview, write window.open ("popupwindowname.aspx","mywindow","toolbar=no,scrollbars=yes,resizable=yes,menubar=0,width=700,height=520"); in Parent window design page. And write Session("var1") = gvChild.SelectedDataKey.Value.ToString() Dim scriptSubmit As String = " window.opener.document.forms(0).submit(); " If Not Page.ClientScript.IsClientScriptBlockRegistered(scriptSubmit) Then Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "script", scriptString) End If Dim ScriptClose As String = " window.close();" Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "Close", ScriptClose) In popup window button click. It will refresh the parent page. In the pageload, with the help of session(“var1”), you can load the new data in the parent gridview. -Priya

    ASP.NET question database

  • How to store word documents in sql server using ASP.Net 2.0??
    K kvPriya

    It's able to store only upto 250 characters. But, my file size may be upto 3MB.How can I store the content of such a file??

    ASP.NET csharp asp-net database sql-server sysadmin

  • How to store word documents in sql server using ASP.Net 2.0??
    K kvPriya

    Hai, I’ve to store the contents in word/text documents along with the format in SQL Server table field. The document may be upto 3MB. But, the length of varbinary and varchar fields in SQL Server can be of 8000 at the max. Any suggestions….Please welcome. -Priya

    ASP.NET csharp asp-net database sql-server sysadmin

  • How to refer the controls of a webuser control??
    K kvPriya

    In 1.1, we can view the designer generated code for a web form. But, for 2.0, I didn't find anywhere such automatic generated code for the control declarations.I am new to the 2.0. Anyway, thanks Kaushal. -Priya

    ASP.NET design sysadmin help tutorial question

  • How to refer the controls of a webuser control??
    K kvPriya

    Thanq, but I need to refer the controls of web user control in some other .aspx page. Using Page.FindControl() , we can refer the control in the same page.But, how can we refer it at some other web form? -Priya

    ASP.NET design sysadmin help tutorial question

  • How to refer the controls of a webuser control??
    K kvPriya

    Thanq, can u please tell where we can make the controls as public in asp.net 2.0 so that we can use them anywhere in the project??? -Priya

    ASP.NET design sysadmin help tutorial question

  • How to refer the controls of a webuser control??
    K kvPriya

    Hai, I have a webuser control enriched with some web server controls.In a web form,I have to refer the properties of the controls of webuser control.While I am referring those properties, an error is raising as '.protected dim with events as system.web.ui.webcontrols.textbox' is not accessible in this context because it is 'protected'. Where can I declare the control as public in a web application? and how we can do that? Any suggestions......please welcome... -Priya

    ASP.NET design sysadmin help tutorial question

  • How to build context menu in asp.net 2.0??
    K kvPriya

    Hai, Can u please suggest me how to build a context menu in asp.net 2.0.... -Priya

    ASP.NET csharp asp-net tutorial question

  • How to access a sever control from javascript??
    K kvPriya

    Hi, I have an aspx page which refers to a master page. In the child page, I have to refer and retrieve the text of a server side textbox of the same page.And this text should be displayed in the browser's status bar.To display the text in status bar, I can use window.status in javascript. But, how can we access that server control's value from script?? Any suggstions....Please welcome....Thanq -Priya

    ASP.NET javascript sysadmin tools tutorial question

  • How to pop up a web form as a modal dialog box??
    K kvPriya

    Hi, I've two webforms. When a condition is satisfied, I need to pop up a webform as a modal dialog box where the user can enter some text.After submitting this child form, the user had to be redirected to some other webform. Inorder to catch the text,I've used a session variable. What I've worked is...... In html page, I've written function giveReason(w,h) { wleft = (screen.width-w) / 2; wtop = (screen.height-h) / 2; imgwindow1=window.open("HiReason.aspx","imgwindow1","width="+w+",height="+h+",left="+wleft+",top="+wtop+"status:Yes;"); imgwindow1.focus(); } And I've called the above script function in codebehind page as... jstr = " giveReason(500,170);" Page.RegisterClientScriptBlock("reasonKey", jstr) After that... In child form, Dim strjscript As String = "" strjscript = "" strjscript &= "window.opener.Home.Text1.focus();" strjscript &= "window.close();" strjscript = strjscript & "</script" & ">" RegisterClientScriptBlock("close", strjscript) Home is some other webbform's id. While running this,I'm getting the error.... "imgwindow1 is null or not an object. poop up window is blocked" Any suggestions?? Thanks in advance.... -Priya </x-turndown>

    ASP.NET html tools help tutorial question

  • Can we convert a vb.net windows application into vb 6.0??
    K kvPriya

    Hai, I've a vb.net 2003 windows application which have connected with ms access database. Can we convert it into a vb 6.0 application? If so, how?? Any suggestions?? Thanks in advance.... -Priya

    Visual Basic csharp database question

  • How to call a codebehind function on onblur event??
    K kvPriya

    Thanks a lot, it is helpful.

    ASP.NET csharp javascript html asp-net sysadmin

  • How to call a codebehind function on onblur event??
    K kvPriya

    Hai All, How can we call a codebehind function on onblur event of a control in asp.net 1.1?The control may be a web server control,html control,html server control or a web user control. Actually, we can call a script function on such an event.But, how to call a codebehind one? Or else, how to call a codebehind function from a javascript function? Any suggestions?? Please welcome... -Priya

    ASP.NET csharp javascript html asp-net sysadmin
  • Login

  • Don't have an account? Register

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