Search

You searched for the word(s): userid:798028

Matching Posts

  • Re: how to get specific cell value from datagrid

    [quote user="writetoatif"]sorry , yes e.item.cells(2).text will return value but i want to know that when i write the same code in ItemCreated event then e.item.cells(2).text will return empty string but it works in itemDataBound event where e.item.cells(2).text will return value [/quote] that's because itemdatabound is the event where controls get bounded with the data. so this will be you best bet. use e.Items.Cells[cellIndex].BackColor, i am not sure with the syntax right now...
    Posted to Web Forms (Forum) by blurearc on 4/30/2009
  • Re: count the length of the text box on text changed event

    Anu It is gud that u tried this... logically we should not do every thing in code behind.. if you will count your string in this way so on each text change page will be postbacked.. and it will make unneccary trips to the server.. which is wrong.. now you want to show these values in label.. so you can use span tag with some id.... and perform the same thing in javascript.. as somebody has mentioned in the above posts... because when you generate your asp.net page on the browser LEBAL control gets
    Posted to Web Forms (Forum) by blurearc on 1/28/2009
  • Re: complete round panel

    try using <fieldset> <asp:Panel runat="server" >Hi This is inside round edges rectangle </asp:Panel> <fieldset> but if you want it to be real circular then you can create image and map it into the back ground... or use silverlight or Flash or Flex.. to create RIA based web application.. where you can have more grip over yout UI designs "Mark as answered if you feel this post is helpfull to you"
    Posted to Web Forms (Forum) by blurearc on 1/28/2009
  • Re: Is Page Caching On by default?

    i believe that "NO" will be the answer for your first question because many tiimes caching can be wrong some time you don't ven need it.... that is why "Yes" will be the answer for your 2nd question
    Posted to State Management (Forum) by blurearc on 1/27/2009
  • Re: How to fix conversion failed from varchar to int! Please help!

    Mohid is right ... you can use his provided way to test your stored procs with mock values but i will suggest put break point in youe asp.net c# code.. and check what values you are sending in stored procs.. if anything apart from 0-9 will come .. system will throw an error of type miss match. so try to debug youe .net code..
    Posted to Web Forms (Forum) by blurearc on 1/27/2009
  • Re: cannot retrive dropdownlist selected value

    i am agree with coolblue but first thing i will suggest ... please purify your code.. there are too many repeated code.. i am quite certain that you can write same code in less then half the lines.. then it will be be easy for you and us to debug this code.. I understand that you are new to .net but i assume that you are quite aware with programing... you are getting -1 as index because after you have re bind your list the selected value is gone now.. su try to persist the selected index and after
    Posted to Web Forms (Forum) by blurearc on 1/27/2009
  • Re: Forcing a Postback

    May be you need this if you need to fire any control's event after your 2nd postback protected void Page_Load( object sender, EventArgs e) { if (Page.IsPostBack) { ClientScript.RegisterStartupScript( this .GetType(), "__doPostBack('" + LinkButton1.ClientID + "','')" ); } } OR may be you need this protected void Page_Load( object sender, EventArgs e) { if (Page.IsPostBack) { ClientScript.RegisterStartupScript( this .GetType(), "__doPostBack(' '
    Posted to Web Forms (Forum) by blurearc on 1/27/2009
  • Re: Web scraping help

    TRY THIS... Dim strURL As String Dim strResult As String Dim wbrq As HttpWebRequest Dim wbrs As HttpWebResponse Dim sr As StreamReader strURL = " http://www.assetalliance.in/DailyInvestment/WorldIndices.aspx?id=5 " ' Create the web request wbrq = WebRequest.Create(strURL) wbrq.Method = "GET" ' Read the returned data wbrs = wbrq.GetResponse sr = New StreamReader(wbrs.GetResponseStream) strResult = sr.ReadToEnd.Trim sr.Close() ' Write the returned data out to the page
    Posted to Web Forms (Forum) by blurearc on 7/18/2008
  • Re: I want to create a SearchPage

    yes you can use multiple forms in a page but Sorry dude not in Asp.net.. you can only use one form tag in one page... although you can use Iframe and there you can call your anothe rpage... but .. in asp.net 1 page 1 form tag..
    Posted to Web Forms (Forum) by blurearc on 7/17/2008
  • Re: Table with rounded edges

    gud one.. when i saw this example the i thought how it can be done using css... as i am coding in javascript from last many years.. then i digged in the source of the generated round cornered table... which u sent the i found it create number of div tags in a manner, that it looks round cornered... as i am not a very big fan of using huge amount of div if they are not needed... and againt it creates problem sometimes on certain browsers..... and i belive you guys know how client scratch's our
    Posted to Web Forms (Forum) by blurearc on 7/17/2008
Page 1 of 54 (535 items) 1 2 3 4 5 Next > ... Last »