|
Hi,
I've got a gridview control on a page which is bound to a custom collection. All the properties of the objects in my collection are readwrite apart from the ID which is bound as readonly. I've added edit buttons to each row but i can't find the 'Enable Edit' Property on the datagrid. All the axamples i've found appear to use design time binding.
Is it possible to bind a collection of objects to a grid at runtime and edit them in situ?
Thanks for help / links etc
Russell
|
|
|
|
|
HI all,
There's any measure or method for a better display and functionality of Asp.net controls in Mozilla browser.coz all the controls are working fine in IE but the textboxes are compressing,validators are not working in the Mozilla.
Pls help me in this issue.
thanks in advance
Have a Nice Day Dudes
Have a Nice Day Dudes
|
|
|
|
|
Well Dude, check the link: http://aspnet.4guysfromrolla.com/articles/050504-1.aspx[^]
Hope it wil help u out...
For Mozilla I think you need to apply server side validation. If you find any solution for Client Side Validation with Mozilla let me know. Thanks
Lets work it Out.........!
|
|
|
|
|
hi friends
i m developing one web based app. in vb.net
in the app. i want to manually debug through break point-F9
but when the error goes into the error line, app. wont stop but it gives disassembly error like:
Microsoft Development Environment
there is no source code available for the current location
Ok Show Disassembly Help
pls help me on this problem
thnx in advance
regards
saravanan
|
|
|
|
|
What line are you trying to debug? Is it your code, from another assembly, or from a third party?
only two letters away from being an asset
|
|
|
|
|
Did you compile your web app in debug mode?
Ben
|
|
|
|
|
hi there:
If you want to step into a dll, you have to reference the project which created that dll into your solution.
<< >>
|
|
|
|
|
Hi,
I'm also faced similar problem earlier. What I have done is stopped all .net applications including ending the task of aspnet_wp.exe and compiled it again in debug mode. It will work. You can see ASPNet_wp.exe on right-clicking the task bar and in the Processes Tab of Task Manager. Check whether the settings in IIS correctly and the system you are debugging have administrative rights.
Happy Coding!!
Meeram395
|
|
|
|
|
Hi Guys,
Have a good day. I need your help. I don't know if what's wrong with this small asp code
<%
Dim CheckX
Dim CheckY
Sub DisplayCheckBox
If Request.form("x") <> "" Then
CheckX = "Checked"
Else
CheckX ="Not"
End if
If Request.form("y") <> "" Then
CheckY ="Checked"
Else
CheckY ="Not"
End If
End Sub
%>
>
x: <%= CheckX %>y: <%= CheckY %>
hifiger2004
|
|
|
|
|
Is it ASP or ASP.NET ?
What is the problem you are facing ?
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
I am using classic asp
hifiger2004
|
|
|
|
|
I am using classic asp. I just wonder how to get the value of the checkbox once the button submit will be clicked.
Actually, this is only a sort of small test asp program for checkbox value. Because if I am successful with this test program I will bring the concept to my actual program using class asp that will save all the multiple checkbox that were selected into the mssql2000.
Thanks in advance.
hifiger2004
|
|
|
|
|
I am using reporting services for generating report.How can I create report in a word format with all word features such as Table Of Contents,Object embedding(.doc,.xls etc.,),bullets and numbering,inserting HTML input into word document etc?
SenthilSelvi
|
|
|
|
|
I want the text that is appearing on the link should open in the explorer but it is not doing that way. Like if www.rediff.com is being displayed then i want this to open in explorer but it opens http://localhost/WebsiteLogix/www.rediff.com
Please help me out.
Mohinder Singh
|
|
|
|
|
for this you need to use fully qualified name. attach HTTP:// with that
|
|
|
|
|
Instead of www.rediff.com, use http://www.rediff.com and it will work fine.
|
|
|
|
|
Hi All,
I want to develop a <b>Fundraising thermometer</b> using asp.net and c#. I am able to develop this using a Background Image as Thermometer. Here i want the image developed at each and every stage to be stored in the database. So I need the Image also to be generated.
Please Help in this issue
Thanks in Advance
ukrajudotnet
ukraju
dotnet
|
|
|
|
|
I'm trying to add a small (tiny!) javascript function to my ASP project.
I'm using 2.0 and C#. My site uses Master pages so I don't think I can directly edit the element.
The following shows my master page, to which I'm trying to add a javascript function - just for testing at the moment.
2 questions -
1) The current code gives a CS0246 error - "The type or namespace name 'function' could not be found (are you missing a using directive or an assembly reference?)" for both 'var' and 'function. What do I need in order to declare functions this way?
2) Given that I can't edit the element, how do I actually call the function? Do I call it from within the Page_Load event?
Many thanks,
Alice
<%@ Master Language="C#"%>
var str = "This is the test string.";
function myFunction()
{
str+=" The string was changed by myFunction. ";
return (str);
}
protected void Page_Load(object sender, EventArgs e)
{
}
<title>Page title
|
|
|
|
|
I think the better question is what exactly are you trying to do. This is some sample code just to try to get some javascript working. What is your real question? To call a javascript function you can do it in the page load. You have to register the javascript like this:
Type cstype = this.GetType();
ClientScriptManager cs = Page.ClientScript;
if (!cs.IsStartupScriptRegistered(cstype, "myFunc"))
{
cs.RegisterStartupScript(cstype, "myFunc", "myFunction();", true);
}
Hope that helps.
Ben
|
|
|
|
|
kubben wrote: I think the better question is what exactly are you trying to do.
The real use will be to declare a couple of functions to allow me to open and close a popup window. I have users log in on one page, from where I want to launch the popup which runs a seperate chatbot application. Users then play around in other pages until they log out. When they hit the log out button I want to be able to close the chatbot. I'm thinking that because all these pages share the same master, if I declare the open and close popup window functions in the master page, then I'll be able to call chatbotwindow.close() even though chatbotwindow was defined (by chatbotwindow = window.open() ) on a separate page.
I'm 100% new to javascript, and not that experienced with ASP.NET, so I'm probably making this harder than it needs to be but I'm finding it really hard to integrate the javascript into my code (possibly because I've used Master pages and code behind, which seem to have hindered things)
Thanks for your comments!
Alice
|
|
|
|
|
A better implementation would be to ceate a javascript library and include it in the pages.
MasterPages and code behind aren't the problem. If they are hindering things for you, you need to do more research on usage.
only two letters away from being an asset
|
|
|
|
|
kubben wrote: To call a javascript function you can do it in the page load.
This doesn't "call" the javascript. It places the script at the top (or at least near the top) of the rendered output.
only two letters away from being an asset
|
|
|
|
|
Yes that is true, I didn't word my response carefully. Thanks for making it clear to her what is going on.
Ben
|
|
|
|
|
Maybe a typo but you are missing the closing </script>
Why can't you modify the body tag? <body onLoad="myFunction" >
only two letters away from being an asset
|
|
|
|
|
Mark Nischalke wrote: Why can't you modify the body tag? <body onLoad="myFunction" >
It seems that because I have a Master page which includes a ContentPlaceHolder I can't add text... I get the following error if I do:
"Validation (XHTML 1.0 Transitional): Text is not allowed between the opening and closing tags for element body'."
If I type onLoad="myFunction" into the it shows the text 'onload' at the top of the rendered page... so what am I doing wrong here?
Thanks,
A
|
|
|
|