|
Xmen wrote: Yusuf.A wrote:
Xmen wrote:
Yusuf wrote:
can you attach to all of them from the the same debugger? I hope not.
Frown this is BS
Excuse me.Mad
whats wrong...I didn't say anything to you
may be I've bad hair day
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Yusuf.A wrote: My primary browser is FF. I debug my application using FF, once done, I run it on IE, Safari and Opera to make sure it works. 99% of the time it works
I second that. FF is amazing!
|
|
|
|
|
Hi
How to call the event ItemDataBound
this is my event
protected void grdReport3_ItemDataBound(object source, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
DataRowView rv = (DataRowView)e.Item.DataItem;
DateTime iap = Convert.ToDateTime(rv.Row.ItemArray[3]);
DateTime iaa = Convert.ToDateTime(rv.Row.ItemArray[4]);
if (iaa > iap)
{
e.Item.BackColor = System.Drawing.Color.Red;
}
}
}
i have included in source code fro datagrid(its not getting through intellisense)
OnItemDataBound="grdReport3_ItemDataBound"
Please help how to fir this event.
Thanks in advance
pavan
|
|
|
|
|
pavan.infy wrote: i have included in source code fro datagrid(its not getting through intellisense)
OnItemDataBound="grdReport3_ItemDataBound"
can you post your gridview aspx code.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
hi
<asp:datagrid id="grdReport3" runat="server" onpageindexchanging="grdReport3_PageIndexChanging" onitemdatabound="grdReport3_ItemDataBound" xmlns:asp="#unknown">
(its not the actual code...its almost similar, i can post you the exact code on monday)
thanks
pavan
(the previous userid has some problem, so created a new one)
|
|
|
|
|
In web.config file,i have added the appsetting schema into new file.
and i added that file name into my app settigs.
Whenever i change my value in the external config file, i am not able to
get those values.External config file is not cached.
|
|
|
|
|
Ramesh A. wrote: In web.config file,i have added the appsetting schema into new file.
and i added that file name into my app settigs.
You problem is not clear? Can you be little bit clear?
What you are trying to do? Do you want some thing cache dependency with some external file or what ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Well I am not sure if what you trying to do will work.
ASP.NET monitors any change on web.config. Whenever something gets changed, it loads the changes on the fly. But it does not monitor changes to an external files which you referenced in your web.config. Since you are changing external files, it is not visible to ASP.NET monitoring.
You will need to do it manually by stopping and restarting your application.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi,
I am developing a new website in .NET 3.5. When I tried to run it it gave me the following error:
Debugging Failed Because Integrated Windows Authentication Is Not Enabled.
So I enabled integrated Windows authentication through IIS. I am using the IIS version that comes with Windows XP Professional, I think it is version 5?
Now when I debug the website, it opens fine in IE 7. When I copy the same link (http://localhost/MyWebsite/) to Firefox then it asks me for a username and password. What username and password is this?
I hope someone can help?
Regards
|
|
|
|
|
.NET Enthusiast wrote: Debugging Failed Because Integrated Windows Authentication Is Not Enabled.
Where is the physical location of your web application? Is it fileystem or HTTP.
Do you have the web.config file there?
.NET Enthusiast wrote: Now when I debug the website, it opens fine in IE 7.
Are you talking about debugging or Opening site?
IE7 works may be reason is, you IE setting set to automatically login with default user name password of windows. You can change the setting in IE.
.NET Enthusiast wrote: When I copy the same link (http://localhost/MyWebsite/) to Firefox then it asks me for a username and password.
Because, Your application is set to windows authentication mode.
.NET Enthusiast wrote: What username and password is this?
Your windows system Credentials (Domain\User Id , Password).
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Abhijit Jana wrote: Where is the physical location of your web application? Is it fileystem or HTTP.
Do you have the web.config file there?
It is HTTP. The web.config is very bare, it has the following in it (I took out all the default stuff):
authentication mode="Forms"
compilation debug="true"
That is all that I have set.
Abhijit Jana wrote: Are you talking about debugging or Opening site?
IE7 works may be reason is, you IE setting set to automatically login with default user name password of windows. You can change the setting in IE.
I am talking about debugging the website. When you click on the play button in VS2008.
Abhijit Jana wrote: Because, Your application is set to windows authentication mode.
How do you know this? Is it because I checked integrated Windows authentication?
Abhijit Jana wrote: Your windows system Credentials (Domain\User Id , Password).
I don't use a username and password for my system, it just starts up without asking a username and password.
Thanks
modified on Saturday, March 21, 2009 9:56 AM
|
|
|
|
|
Dear Sirs,
I can't break my program in web application programming(ASP.Net) using Windows vista.
I can break windows program on the above pc.
I haven't used windows vista before now. In other windows, I can break all programs.
But at this time, I can't . So I suppose it is because of windows. But I am not sure.
I would like kindly request you all to solve my problem.
With Regards,
Thinn Chay
|
|
|
|
|
What do you mean by break?
|
|
|
|
|
ThinnChay wrote: I can't break my program in web application programming(ASP.Net) using Windows vista.
What do you mean by "break program" ?
ThinnChay wrote: I can break windows program on the above pc.
How?
ThinnChay wrote: n other windows, I can break all programs.
ThinnChay wrote: I would like kindly request you all to solve my problem.
OMG. What are you trying to say? Are you talking about break point?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
ThinnChay wrote: I can't break my program in web application programming(ASP.Net)
Do you mean you want to set a break point? Are you trying to debug you application?
Try reading about asp.net debugging first. Here[^] this may be good starting point.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi,
I have developed a project with asp.net 2.0 & sqlserver 2000. I want to sort gridview maually when it is bind with sqldatasource
I use
Protected Sub GridView1_Sorting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewSortEventArgs) Handles GridView1.Sorting
If e.SortDirection = SortDirection.Ascending Then
e.SortDirection = SortDirection.Descending
Populate()
Else
e.SortDirection = SortDirection.Ascending
End If
but it is not working.please help me?
|
|
|
|
|
farogh123 wrote: but it is not working.please help me?
what is it not working? did you try to debug it? what did you see/get?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Just by looking at the code i
If e.SortDirection = SortDirection.Ascending Then
e.SortDirection = SortDirection.Descending
Populate()
Else
e.SortDirection = SortDirection.Ascending
End If
It looks like on descending you call Populate(), but on the Ascending sort you don't call Populate()
If i were to guess this is working one way but not the other. If this is not the case please provide a little more info.
Hope this helps.
|
|
|
|
|
Hi All
My requirement is read xml file, which generate the web service (web service from another application), so wht i have to do is i have call that service from my application and show some details, so wht is the best way read xml file from my application?is there any recommended way to do that
Thanks
|
|
|
|
|
Hi Friends,
I put a logincontrol in a page to login using Membership.If no such user exists then i write code in login_error event to show a message box that no such user.I want to clear the 2 textboxes if no such users exists.How i clear the textboxes for entering username and password in logincontrol if login fails.
|
|
|
|
|
Hi,
You can try textbox1.text="" or textbox1.text=String.Empty
|
|
|
|
|
I tried this also.but i the textbox wont be cleared.I used alert box to show no such user message.How i solve the textbox after displays the alert box.
|
|
|
|
|
hi,
alert will be run at client side.But u r checking for user at server side.have u written the given code at server side?have u tried to debug the same?what value it shows for textbox1.text=""
|
|
|
|
|
Alert also will be applied in serverside.
|
|
|
|
|
SreejithAchutan wrote: Alert also will be applied in serverside.
Quote Selected Text
huh? can you explain what you meant by that? How is Alert in Server side tied to client side?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|