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
G

gbabu17

@gbabu17
About
Posts
38
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • User search(ctrl+F) on asp.net page with multiple textboxes
    G gbabu17

    Hi, I have an asp.net webpage with multiple textboxes filled with data, If user uses browser search(ctrl+F) the text in textboxes is not highlighted. How to achieve this? Thanks Baba

    ASP.NET csharp asp-net tutorial question

  • Text Changed and javascript confirm box
    G gbabu17

    I do not want to store values without any event. I have many textboxes and i want to store the inital value only based on some event. Is there some event like onfocus or onkeydown for the textbox where i can store only for the textbox which is supposed to be changed. Thanks

    ASP.NET question javascript

  • Text Changed and javascript confirm box
    G gbabu17

    I have a textbox which is created dynamically in page_load. TextBox tb = new TextBox(); tb.id = "ID1"; tb.text = GetfromDB(); tb.TextChanged +=new EventHandler(tb_TextChanged); Now i want to add a javascript confirmbox as tb.Attributes.Add("onchange","javascript:return confirm('Data has Changed. Click OK To Continue');"); If the user clicks ok then continue to tb_TextChanged function and if user clicks cancel i want to restore the previous value of textbox. How can i write the javascript function? Thanks

    ASP.NET question javascript

  • server side button click event after onblur event
    G gbabu17

    <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript"> var change = false; function showmsg(id) { var res = confirm("proceed"); if (res) change = true; } </script> </head> <body> <form id="form1" runat="server"> <div> <asp:Label runat="server" ID="lbl" /> <asp:TextBox ID="TextBox1" runat="server" onblur = "showmsg(this.id)" ></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick = "return change;change=false;" onclick="Button1_Click" /> </div> </form> </body> </html> .cs public partial class blurtest : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { lbl.Text = "test msg"; } } How can i set the label text here.

    ASP.NET javascript html design sysadmin tools

  • button click event after onblur event
    G gbabu17

    I do not want autopostback on textbox. There should be some way to detect button click event in javascript.

    ASP.NET csharp javascript asp-net help tutorial

  • button click event after onblur event
    G gbabu17

    Thanks, But how to detect that it is button click event after onblur event. I mean i want to fire the button click event only if the button is pressed immediately after changing text in textbox.

    ASP.NET csharp javascript asp-net help tutorial

  • button click event after onblur event
    G gbabu17

    Hallo, I have a textbox with onblur event handled with javascript. I have asp.net button. When i chage the text in textbox and directly click the button, i get a confirm box from the onblur event. How can i make the button event to fire after answering the confirm box. In other cases like press tab or clicking some other control is not a problem. example code: Textbox txt = new TextBox txt.id = "txt"; txt.attributes.add("onblur","showmsg(this.id)") Javascript: function showmsg(id) { var x = document.getElementById(id).value; if (x != "") { var res = confirm("msg"); if (res == true) { document.getElementById(id).value = x; } else { document.getElementById(id).value = ""; } } }

    ASP.NET csharp javascript asp-net help tutorial

  • Databinding to dynamically created textboxes
    G gbabu17

    Hallo, I have a DataSet from 2 DB tables, and i want to databind some textboxes(say N, created dynamically) at runtime. Is it possible to have 2-way databinding without using gridview or reapeater etc. That is, i have a set of textboxes and labels in a table. The textboxes should implement 2-way databinding. Thanks

    ASP.NET database

  • text wrapping for radiobuttonlist
    G gbabu17

    Hallo, I have a ajax modalpopupextender which pops up a panel for a button click. Every thing works fine The popupcontrol panel has some controls, one of them is a label which is DynamicControlID for the popupextender. I am rendering a radiobuttonlist dynamically. I am creating ListItems and adding them to Radiobuttonlist, and it is rendered. Problem: The text of some of the radiobuttons exceeds the panel width (i do not want to increase the width of panel). How to wrap the text of radiobutton, so that it can appear in a multiline. For example after rendering the text is as below: <table id="Table1" border=\"0\" style=\"font-size:Medium;width:40%;padding-top:24px;\">\r\n\t<tr>\r\n\t\t<td><input id=\"RadioButtonListCCList_0\" type=\"radio\" name=\"RadioButtonListCCList\" value=\"1316\" checked=\"checked\" /><label for=\"RadioButtonListCCList_0\">AR,AT,AU,BA,BG,BO,BR,BX,CA,CH,CL,CN,CO,CR,CU,CZ,DE,DK,DO,DZ,EC,EG,EM,ES,ET,FI,FR,GB,GR,GT,HN,HR,HU,ID,IE,IL,IN,IS,JP,KE,KR,MA,MX,MY,NO,NZ,PA,PE,PH,PL,PT,RO,RS,SE,SI,SK,TH,TN,TR,TW,US,VE,VN,ZA</label></td>\r\n\t</tr>\r\n</table> Thanks for the help

    ASP.NET help tutorial dotnet

  • The operation has timed out when using web services
    G gbabu17

    Thanks for the fast reply. It seems system.servicemodel is supported by only .Net framework 3.0, but i am using 2.0. so are there any equivalent methods in 2.0

    C# csharp wcf sysadmin json

  • The operation has timed out when using web services
    G gbabu17

    I am using a .net console apllication(C#) which makes API calls to a web service. There is a large amount of data transfer. The exception i am getting is "The operation has timed out". I generated stub classes from WDL files and using them in client application. Where can i set the timeout value. Is it on the client application or on the web server. and what parameters are used to set the time out value. thanks

    C# csharp wcf sysadmin json

  • file sharing for web applications
    G gbabu17

    thanks for the reply. I think the sample you mentioned will directly downlaod all the files without any selection. i want the user to click a file and then download. i mean i want the files names as a kind of links on the web page.

    C# csharp asp-net

  • file sharing for web applications
    G gbabu17

    thanks for the reply. I think the sample you mentioned will directly downlaod all the files without any selection. i want the user to click a file and then download.

    C# csharp asp-net

  • file sharing for web applications
    G gbabu17

    i have a .net(C# + asp.net) web application that needs to show a set of log files on the browser once the user is logged in. The user should be able to download the files by clicking or right click->save as. any ideas or samples will be thankful.

    C# csharp asp-net

  • NetUserGetInfo returns 1008 (GetLastError)
    G gbabu17

    They are wchar_t types. i think it is something related to permissions(may be ACL) but i cannot figure it out. thanks

    C / C++ / MFC help sysadmin json question

  • NetUserGetInfo returns 1008 (GetLastError)
    G gbabu17

    they are passed to the function correctly, because i am printing them just before passing to the NetUserGetInfo.

    C / C++ / MFC help sysadmin json question

  • NetUserGetInfo returns 1008 (GetLastError)
    G gbabu17

    Hi, I am developing a dll which uses NetUserGetInfo to retreive the home directory of a Domain user. NetUserGetInfo returns 1008 error code. my usage of function: NetUserGetInfo(Domain-server,domain-user,11,buf) The problem i was thinking was, The dll is launched by a local user(admin privilages) on a system which is in the same domain. SO may be the local user does not have enough permissions to use the NetUserGetInfo function to retreive the necessary information. My questions: 1. Is it possible to provide enough permissions for the local-user, How? 2. The other alternate is to connect to domain-server with some power user and then use the NetUserGetInfo function. But I do not find suitable function to connect to domain server with a power user credentials in windows network management API(netapi32.lib) Thanks for the help

    C / C++ / MFC help sysadmin json question

  • how to check whether windows authentication is used for sql server connect
    G gbabu17

    hi, I have a ODBC DSN which is configured for windows authentication to connect to Sql Server. Is there any API,which can find it programatically whether DSN is using windows authentication. I want an API for vc++ win32 project. thanks

    C / C++ / MFC c++ database sql-server sysadmin security

  • IE web control TreeView updation
    G gbabu17

    hi, I am using asp.net1.1. i am using IE treeview web control. In the page load method of codebehind file(C#) i am constructing the tree from DB. i have a submit button where user can update nodedata into DB. When the user clicks the submit button i want the tree to be constructed with the new update values. if i press F5 then i can see the updated value. without pressing F5, how can the tree be updated. i mean when the submit button is pressed i want to execute the event(submit_click) first then the page_load should be executed.how can i achieve it. thanks

    ASP.NET csharp asp-net database data-structures question

  • populating treeview from database table
    G gbabu17

    i am using ASP.NET and C#

    ASP.NET csharp asp-net database data-structures
  • Login

  • Don't have an account? Register

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