Hi, I have added one gridview inside the Update panel,I want to fire the textchanged event on gridview with update panel. please help me on this. Thanks in advance. Raaj
r aa j
Posts
-
Need to fire textchanged event with Gridview using Update panel -
Iframe problem with IE8Hi All, I have used below iframe code, <iframe frameborder="0" scrolling="no" overflow="auto" width="570" height="585" src="http://www.accentureforum.dk"></iframe> but its problem with IE8, its saying below error. "Navigation to the webpage was cancelled" Please help on this issue. Thanks in advance.
Raaj
-
Difference between Button and Command button in .nethi all, what is the Difference between Button and Command button in .net if anybody knows please reply me Thanks in advance.
Raaj
-
Error in Hashtable with arrayListI am developing website using C# with ASP.net. one page I am inserting data into hashtable after reach 1000(>1000),Add it into Array list than Insert into Database...here sometimes saying Exception like Item has already been added. Key in dictionary: '12' Key being added: '12' ...Please help me with this.....How to avoid this Eception... and I am using following code.. public static Hashtable ht = new Hashtable(); public string Crid=""; Crid = ht.Count.ToString(); string[] st = new string[4]; st[0] = Crid; st[1] = "5654546456"; st[2] = "0"; st[3] = "1"; if (ht.Count<1000) { ht.Add(ht.Count, st); } else { ArrayList list = new ArrayList(); foreach (int key in ht.Keys) { list.Add(ht[key]); } ht.Clear(); ht = new Hashtable(); ht.Add(ht.Count, st); for (int j = 0; j < list.Count; j++) { //here Inserting data into Database } }
Raaj
-
Exception In Hashtable with arrayList.I am developing website using C# with ASP.net. one page I am inserting data into hashtable after reach 1000(>1000),Add it into Array list than Insert into Database...here sometimes saying Exception like Item has already been added. Key in dictionary: '12' Key being added: '12' ...Please help me with this.....How to avoid this Eception... and I am using following code.. public static Hashtable ht = new Hashtable(); public string Crid=""; Crid = ht.Count.ToString(); string[] st = new string[4]; st[0] = Crid; st[1] = "5654546456"; st[2] = "0"; st[3] = "1"; if (ht.Count<1000) { ht.Add(ht.Count, st); } else { ArrayList list = new ArrayList(); foreach (int key in ht.Keys) { list.Add(ht[key]); } ht.Clear(); ht = new Hashtable(); ht.Add(ht.Count, st); for (int j = 0; j < list.Count; j++) { //here Inserting data into Database } }
Raaj
-
we are lost the impressionsconcept is whenever getting the impression we are insert +1 to database with creative ID,Already Inserted means we are Updating...the problem is In clientSide(Company Client) server is showing impression more than Our Application(we handling other server)....Both server sholud be display same... that means we are lossing the impression.. Plz help me in this
Raaj
-
we are lost the impressionshi all , I am developing advertising Website-Registering Impression,click etc..here problem is whenever user registering Impression that we are loss the 40% impression and here we doing geolocation also.I attached following code also..Plz reply me if u know...Thanks using System; using System.Data; using System.Data.SqlClient; using dataacesslayer; using System.Web; public partial class Admin_getbase : System.Web.UI.Page { string Crid = ""; SqlConnection conn = null; SqlCommand cmdinsert = null; protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.NoCache); SqlParameter paramvalue; conn = new SqlConnection("Data Source=dddd;Initial Catalog=new;User ID=fg;Password=hg"); if (Request.QueryString["Crid"] != null) { Crid = Request.QueryString["Crid"].ToString(); } try { cmdinsert = new SqlCommand("sd_Basreg", conn); cmdinsert.CommandType = CommandType.StoredProcedure; paramvalue = new SqlParameter("@Crid", SqlDbType.Int); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = Crid; cmdinsert.Parameters.Add(paramvalue); paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = IpAddress(); cmdinsert.Parameters.Add(paramvalue); conn.Open(); cmdinsert.ExecuteNonQuery(); Response.ContentType = "text/plain"; Response.Write("&imp=registered&"); } catch (Exception ex) { cmdinsert = new SqlCommand("sd_Basreg", conn); cmdinsert.CommandType = CommandType.StoredProcedure; paramvalue = new SqlParameter("@Crid", SqlDbType.Int); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = Crid; cmdinsert.Parameters.Add(paramvalue); paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt, 50); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = "0"; cmdinsert.Parameters.Add(paramvalue); conn.Open(); cmdinsert.ExecuteNonQuery(); Response.ContentType = "text/plain"; Response.Write("&imp=registered&"); } finally {
-
we are lossing the Impressionhi all , I am developing advertising Website-Registering Impression,click etc..here problem is whenever user registering Impression that we are loss the 40% impression and here we doing geolocation also.I attached following code also..Plz reply me if u know...Thanks using System; using System.Data; using System.Data.SqlClient; using dataacesslayer; using System.Web; public partial class Admin_getbase : System.Web.UI.Page { string Crid = ""; SqlConnection conn = null; SqlCommand cmdinsert = null; protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.NoCache); SqlParameter paramvalue; conn = new SqlConnection("Data Source=dddd;Initial Catalog=new;User ID=fg;Password=hg"); if (Request.QueryString["Crid"] != null) { Crid = Request.QueryString["Crid"].ToString(); } try { cmdinsert = new SqlCommand("sd_Basreg", conn); cmdinsert.CommandType = CommandType.StoredProcedure; paramvalue = new SqlParameter("@Crid", SqlDbType.Int); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = Crid; cmdinsert.Parameters.Add(paramvalue); paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = IpAddress(); cmdinsert.Parameters.Add(paramvalue); conn.Open(); cmdinsert.ExecuteNonQuery(); Response.ContentType = "text/plain"; Response.Write("&imp=registered&"); } catch (Exception ex) { cmdinsert = new SqlCommand("sd_Basreg", conn); cmdinsert.CommandType = CommandType.StoredProcedure; paramvalue = new SqlParameter("@Crid", SqlDbType.Int); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = Crid; cmdinsert.Parameters.Add(paramvalue); paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt, 50); paramvalue.Direction = ParameterDirection.Input; paramvalue.Value = "0"; cmdinsert.Parameters.Add(paramvalue); conn.Open(); cmdinsert.ExecuteNonQuery(); Response.ContentType = "text/plain"; Response.Write("&imp=registered&"); } finally { cmdinsert.D
-
JavaScript Error with IEhi all, I developing webApplication using ASP.Net with C#,here I made Javascript Function for Popup window...Its working fine in Google crome But its saying error with IE like Runtime erroe object expected..plz help me anybody knows...Thanks
Raaj
-
Gridview with AnimationExtenterControlhi all, I am developing website, here i am using Two gridview with two AnimationExtenterControl and two slidercontrol..the problem is both AnimationExtenterControls are firing first gridview... I want to fire first AnimationExtenterControl to First gridview and second AnimationExtenterControl to second gridview.. if anyboby knows please reply me... Thanks.
Raaj
-
Performance Issue with SQL serverthanks for ur suggestion.... thanks alot
Raaj
-
Performance Issue with SQL serverI done that Execution plan.actually that storedprocedure contains 7 queries....for that execution plan its display query cost one 8% ,another 23% etc.... please can u tell me how we can identify
Raaj
-
Performance Issue with SQL serverplease tell me how can we check the execution plan.
Raaj
-
Performance Issue with SQL serverindex will help with this issue?
Raaj
-
Performance Issue with SQL serversometimes I am getting impression....sometimes timeout expired..
Raaj
-
Performance Issue with SQL serverhi, I am developing advertising website.whenever I am getting impression that time i am geeting timeout expired error is comming because at a time somany impressions are comming..here I am using stored procedure..if anybody knows for improve this performance...please reply me... Thanks.
Raaj
-
tab control with same positionI changed position equalto relative and absolute....but I couldnt get
Raaj
-
tab control with same positionI am developing website...I want to display 3 table details using Tab control...I am using following code..but its displaying different position..i wnt to display with same position... function VisibleMe(no) { //alert("test"); document.getElementById("div1").style.visibility = "hidden"; document.getElementById("div2").style.visibility = "hidden"; document.getElementById("div"+no).style.visibility = "Visible"; document.getElementById("div"+no).style.left = 0+"px"; document.getElementById("div"+no).style.top = 0+"px"; //document.getElementById("tabtd").innerHTML=document.getElementById("div"+no).innerHTML; } <table> <tr><td> <div id="div1" style="overflow:scroll;width:814px;position:absolute;"> <table width="1600" border="0" cellspacing="0" cellpadding="0" align="center"> <tr><td valign="middle" width="110"><div class="client">PublisherName</div></td> <td valign="middle" width="110"><div class="client">AdName</div></td> <td valign="middle" width="120"><div class="client">ServedImpressions</div></td></tr> </table></div> <div style="overflow:scroll;width:814px;position:absolute;" id="div2"> <table width="2000" border="0" cellspacing="0" cellpadding="0" align="center"> <tr><td valign="middle" width="110"><div class="client">PublisherName</div></td> <td valign="middle" width="110"><div class="client">InteractionRate</div></td> <td valign="middle" width="170"><div class="client">InteractionAverageDuration</div></td></tr> </table></div> </div> <table border="0"> <tr> <td id="td1" onclick="VisibleMe(1)"><b>Creative Summary</b></td> <td id="td2" onclick="VisibleMe(2)"><b>Engagement</b></td> </tr> <tr><td valign="top" align="left" bgcolor="#FCFCFC" colspan="3"> <span id="tabtd"></span> </td> </tr> </table> </td></tr></table> if anybody knows..plz reply me.. Thanks
Raaj
-
how to get the Client IP addressusing that we can get server IP right?
Raaj
-
how to get the Client IP addresshi, I am developing website using ASP.net with C#.whenever getting Impression I want to store Client Ip address....How we can get the client IP...?if anybody knows plz reply me.. Thanks
Raaj