|
Hi everebody,
After we applied the security update that is described in security bulletin MS07-040 - our ASP.NET 2.0 application started showing garbage data.
I read this http://support.microsoft.com/kb/940521/en-us[^] and suspecting that this is happening beacuse of this.
If we refresh the page then the garbage characters are removed.
Please help if you could suggest anything.
Thanks much.
Regards
Sajid A.
|
|
|
|
|
If that is the reason for the problem, then your application has started to show garbage data that has been there all the time. That means that the update did not cause the problem, it was just not visible before.
Where does the garbage data show, and what does it look like?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thanks for your kind reply
Its showing any time at the top of the page. garbage code like "? ad&g "is showing randomly at the top. when i press refresh then its gone randomly.
Sajid A.
|
|
|
|
|
That doesn't look at all like what the article was talking about.
Does this happen on any page in the application or on a specific page?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
its happening to any page at any time. no any purticular pages. Sometime its showing the garbage like "؎?cript type="text/javascript">" in pages. We have two website on the same server. both are showing the same error. after refresh its gone.
Sajid A.
modified on Saturday, February 7, 2009 11:40 PM
|
|
|
|
|
Hi,
I am working on a task to Display Timer count down in GridView, in Asp.net with C#.net. Here timer Count Down will be given particular time, for example 05:00:00 hours. In the GridView this duration of time should decrement and finally it should reach 00:00:00. This should be done for every element of GridView. If anyone have solution for this Please reply me as soon as posssible.
Thank you.
|
|
|
|
|
Well, obviously the only way to do this, is with javascript. There's tons of examples of js timers on the web.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
use setTimeOut from javascript to implement your logic.
Abhishek Sur
|
|
|
|
|
I need to search on text which are in particular column in Db(which has greater number of records) and get the rows and display the search result based on the text searched.For implementing with good performance, which type of indexing is accurate like clustered index,nonclustered index,full-text indexing et.
|
|
|
|
|
Was there any problem in using the appropriate(SQL) Forum?
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
When i use modalpopup Extender and trying show a message on button click the Dropdownlists which are present on my webform are getting Disappeared and when i press cancel(which is present in my message box(using Modal popup)) they reappears(dropdownlists)
|
|
|
|
|
i want to apply css class.and wat is css class .fresher pls help
|
|
|
|
|
anujbanka1784 wrote: i want to apply css class.and wat is css class
You want to apply CSS, but you don't know what it is ? Why don't you buy some books if you want to learn programming ? Or, why don't you try learning to use google ? This is just too basic and clueless a question to get any real answers, I am not sure what I could possibly say and hope for you to understand it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
anujbanka1784 wrote: i want to apply css class.
If you learn what a CSS class is, you will be able to apply one. Search for CSS beginner tutorials.
anujbanka1784 wrote: and wat is css class .fresher
It's just a name of a CSS class, the name doesn't have any meaning in itself so the class is what you put in it.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
i know wat it is i want to apply it on my project i apply it on master page wat its not working.
|
|
|
|
|
There is an h in 'what'. As has been said, you are asking basic questions, if you can't or won't buy a book or read online articles, why should we bother trying to help you ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
anujbanka1784 wrote: i apply it on master page wat its not working.
Then you did something wrong. Without seeing any of the code I can only give you a couple of guesses, like:
- Misspelled class name
- Different case
- Forgot the period before the class
- Overridden by another class
If you use a tool like FireBug for Firefox, you can look at the element and see what CSS applies to it and what CSS is overridden.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Friend CCS class name is case sensitive. make sure you are providing correct case with correct name.
Sajid A.
|
|
|
|
|
I have to open a new window using code behind(VB)..I tried
strJScript = "<script language=javascript>"
strJScript += "window.open('cuponprint.aspx',null,'height=150, width=430,status= no, resizable= yes, scrollbars=yes, toolbar=no,location=center,menubar=no, top=100, left=300');"
strJScript += "</script>"
Response.Write(strJScript)
But dis open s popup which can not be seeen when popup blocker is activated..
Is there any way to open a new window instead of a popup even when popup blocker is active..
Regards.
|
|
|
|
|
Well that would defeat the purpose of having a pop-up blocker...if you wish to by-pass a popup blocker means that you are trying to identify a hole in the browser security...
I think you cannot do that ...even if you do it by any trick that would be patched up anyway by the browser makers...
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Yes.. he is right, rather what you can do is to write the content of the page into a hidden div that acts similar to popup, and show that div.
Abhishek Sur
|
|
|
|
|
|
You have some serious formatting issues. I don't even know what is going on there... Can you reformat the post?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Firstly we dont work for you and we dont do School homeworks here for people.
Secondly never use words like "As Soon as Possible" we dont work for you and you dont respect us.
Lastly Formating your code at code Project is easy, just add your code between the pre tag like this
if(Retard)
{
lblmessage.text = "Get Manners, its free :)";
}
else
{
lblmessage.text ="lol!!!!!!!!";
}
And try posting your code again.
Hope it helps
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
Hi ladies and gentlemen,
I'm trying to retrieve sql statement to datatable then update to gridview.The datareader can read it.
and able to retrieve data to txtDistID(from sql) and lblTotal(total count from datatable).
But the gridview cannot show the retrieved value from datareader. but no error message found...
Did i miss out anything?
Can you please guide me?
Thanks and appreciate......
Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click
eConn = System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ToString()
Dim cn As New SqlConnection(eConn)
Dim cmd As New SqlCommand
cn.Open()
strQuery = "SELECT DistID,EmpNo,EmpName,ICNo from udtDistributionAdd order by EmpNo"
cmd.CommandText = strQuery
cmd.Connection = cn
dr = cmd.ExecuteReader()
InitMyTable()
Do While dr.Read
Row = myTable.NewRow()
Row.Item("EmpNo") = dr(1).ToString()
Row.Item("EmpName") = dr(2).ToString()
Row.Item("ICNo") = dr(3).ToString()
Me.txtDistID.Text = dr(0).ToString()
myTable.Rows.Add(Row)
Loop
Me.lblTotal.Text = myTable.Rows.Count
cn.Close()
dr.Close()
End Sub
Public Sub InitMyTable()
myTable = New DataTable("Search")
Dim EmpNo As DataColumn = New DataColumn("EmpNo")
EmpNo.DataType = System.Type.GetType("System.Int32")
myTable.Columns.Add(EmpNo)
Dim EmpName As DataColumn = New DataColumn("EmpName")
EmpName.DataType = System.Type.GetType("System.String")
myTable.Columns.Add(EmpName)
Dim ICNo As DataColumn = New DataColumn("ICNo")
ICNo.DataType = System.Type.GetType("System.String")
myTable.Columns.Add(ICNo)
Dim ds As New DataSet
ds = New DataSet
ds.Tables.Add(myTable)
Me.gvSearch.DataSource = myTable
Me.gvSearch.DataBind()
End Sub
|
|
|
|