|
It works in Firefox on my desktop machine, and at all our clients. It's only on a freshly installed Vista Business, in IE and FF, that it doesn't work. I have firebug installed, and it tells me that functions declared in the .js file referenced are not defined. This causes the error:
window["ddlUser"] = new RadCombobox("ddlUser", "ddlUser", true);
This is script automatically rendered by the control, i.e. nothing here has changed except that the Javascript required to permit this statement is not loaded or loaded but not working.
Calling all South African developers! Your participation in this local dev community will be mutually beneficial, to you and us.
|
|
|
|
|
Hi Guys, I have an interesting Problem : just Look At it and please Justify
I have already created .csv file containing two values (Which are simply passed through a function),I can do this successfully,
Now I have an image which is bar charts :
This Barcharts are generated with that two values that I have used(Passed) in .csv file.
Now
This bar charts I can show successfully in Running mode,
But,
Now I want that image file to be shown in .csv file
'or'
Is there any way to generate bars with that two values that i have passed in .csv file.
'or'
It is something like to do programmig in .csv file [But i think it is not possible ]
I m using framwork 1.1
Code C#
Tech Asp.net
Believe Yourself :->
|
|
|
|
|
This, to me, really doesn't make sense.
Gandalf -The White wrote: Now I want that image file to be shown in .csv file
Can you explain your problem in a clearer way? Perhaps show some code?
I think you want to read the values from teh CSV, and craete the barchart with those values but you can't?
If that is correct, then...
Have you managed to read the values in? If not, what errors are you getting? Show us the code.
Give us more info, you'll get an answer - sounds like an interesting problem and the word 'urgent' didn't appear anywhere!
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
|
If you ahve your bars working, then you just need to open the CSV file, read in the values, and use them to generate the bars. I don't see what else you could mean? Open text file. read values. Call Bar Render function, passing in values. Post the code if you have any.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
Hi to all!
How to make a Dynamic break between two Texts (tax,------,policy,) in dropdown list box. That should be dynamic and not be touched by cursor. Without using javascript, only by using HTML.
Thanks in Advance,
Pandi
|
|
|
|
|
|
Thank you very much....!
Pandi
|
|
|
|
|
Hi to everyone.
Following is my doubt:
Working with asp.net and web references I often used a tip to configure on the fly my web reference and it's timeout, with two parameter in the web.config file, and making a little change to the auto-generated reference.cs file.;)
When starting with VS2005 and Asp.net 2.0 I was very happy that now this feature came in an automatic way.
But the reference.cs file are created in the paths:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\[$APP_NAME]\...\...\Sources_App_WebReferences\....
So, my question is: It's possibile to set the environment in such a way this file can be added automatically under my solution?
In this way tracking and making changes to the code will be more simple.
Thanks,
Aniel
|
|
|
|
|
Hi,
In my ajax enables asp.net application, i'm using a updatepanel. In this i've kept a html input image control. But the probel is when i browse this site, the images are not seen.
Can anyone tell me where i'm wrong? The code is as follows:
<asp:UpdatePanel
ID="upanelImg1" runat="server" >
<ContentTemplate>
<input type="image" runat ="server" id="imgSign1" src="img/S.0.1245.2.gif" style="height:100px;width:300px; border-color:Black;" />
<input type="checkbox" runat="server" id="cbxImg1" style="z-index: 103; left: 337px; position: absolute; top: 35px" />
</ContentTemplate>
</asp:UpdatePanel>
Please help me out here.
Thanks,
Deepa
|
|
|
|
|
Hi,
I didnt get any error.
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title></title>
</head>
<body>
<form runat="server">
<center>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<input type="image" runat ="server" id="imgSign1" src="Image.gif" />
</ContentTemplate>
</asp:UpdatePanel>
</center>
</form>
</body>
</html>
Check for each and every line.
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
hi,
u have not used updatepanel. so u dinn get any errors...
|
|
|
|
|
deep7 wrote: src="img/S.0.1245.2.gif"
Are you sure the images are in a subdirectory off the directory holding the page?
Any reason you are using <input type="image" . If you use the asp.image class you can specify the image path from the root using ImageUrl="~/img/filename.gif" , which generally reduces these relative directory issues.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
I am trying to preview my webpage using IE. I got the following error
___________________________________________
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
________________________________
this is what I got inside the Event Log
Warning
Failed to initialize the AppDomain:/LM/W3SVC/1/Root/login
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
Error
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.
_______________________________
Can anyone tell me how to fix this....
|
|
|
|
|
|
Is this on a webserver or running locally using the local web developer server? Has it ever worked? If you strip your website back to a single default.aspx page what happens? Are you doing anything clever in ApplicationState in the the global.asx file?
So many questions, so little information. What have you tried to fix this?
Reddy Prakash wrote: Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.
STFW (google) for the above error and see if that throws any light on the problem.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
Dear All,
I am using a frame in aspx page and during a postback based on certain condition, I want that page should redirect to another page.
If i am using response.redirect or server.transfer, the page opens in the frame only but i want it to open in the main browser window.
I could achieve this by using top.location in javascript but in this case, request goes to server once again which is time taking. Please suggest.
Anurag Gandhi.
|
|
|
|
|
you can use the same javascript - bind it dynamically in the code-behind using the Page.RegisterStartupScript
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Thanks John,
I have done the same and working fine. But the problem is this will execute after going to the clients browser, then come back again to the server to redirect to the target page.
I want to avoid this round trip.
|
|
|
|
|
Anurag Gandhi wrote: then come back again to the server to redirect to the target page.
It has to come back to the server to redirect. What John is saying is when you render your page, call RegisterStartUpScript and register a javascript function. The javascript function will then redirect the browser to a new page. The browser will go to the server to get the new page. It won't go to the server to do anything with the current page. There are no extra round trips here.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
I have a problem that when i try to send email with attachment its not working and thats because i need to upload the file to the server and that is action and sending email is another action.
so thats not working in the same page.
Waseem Kanafani
|
|
|
|
|
But sending the email is a server-side action which you can take after uploading the attachment
Upload file
save to server
create email
attach saved file
send
- what is your problem?
Fred
|
|
|
|
|
Yes your are right just i have problem with that, that am an begginer in asp and i need to learn fast.
Thank you
|
|
|
|
|
Waseem_Kanafani wrote: i need to learn fast
Google is faster than you, so as fast as you want to learn, google will give you the answers as quick as you need them.
This is pretty basic stuff and you've just been given the pseudo code to do this. You must have some code server side to save the file from the upload control. As soon as it is saved, create an instance of your message sending class, create a mail, attach the file and send. All done in one go on the server.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
Hi guys.Im looking to update my database from my datagrid.
When u click on edit, it gives you an option to update or cancel action, so I need to update the database after making the change.Prolem with this code is that it work for txt boxes not datagrid, but it shudnt be that different.
My previous code is like this, so Im hoping sumone will assist me in doing so.
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged
If IsNumeric(txtFirstName.Text) Then
MsgBox("Please type your name in letters", MsgBoxStyle.Critical, "KNS System-Error")
Exit Sub
End If
If IsNumeric(txtCity.Text) Then
MsgBox("Please type your City in letters", MsgBoxStyle.Critical, "KNS System-Error")
Exit Sub
End If
If Not IsNumeric(txtPostalCode.Text) Then
MsgBox("Please type your PostalCode in numbers", MsgBoxStyle.Critical, "KNS-System-Error")
Exit Sub
End If
If Not IsNumeric(txtCelnumber.Text) Then
MsgBox("Please type your Cellphonenumber in numbers", MsgBoxStyle.Critical, "KNS-System-Error")
Exit Sub
End If
da = New OleDbDataAdapter("Select * From Employees", cn)
cb = New OleDbCommandBuilder(da)
ds = New DataSet
ds.Clear()
da.Fill(ds, "Employees")
dt = New DataTable
dt = ds.Tables("Employees")
Dim dr() As DataRow
dr = dt.Select("EmpID = " & txtEmpID.Text & "")
dr(0).BeginEdit()
'dr(0)("Client_ID") = txtClientID.Text
dr(0)("EFirstName") = txtFirstName.Text
dr(0)("ESurname") = txtSurname.Text
dr(0)("EDepartment") = cboDept.SelectedItem
dr(0)("EPassword") = txtPassword.Text
dr(0)("EConfirmPassword") = txtConfirm.Text
dr(0)("EPhonenumber") = mtxtPhoneNumber.Text
dr(0)("ECelnumber") = txtCelnumber.Text
dr(0)("EAddress") = txtAddress.Text
dr(0)("ECity") = txtCity.Text
dr(0)("EPostalcode") = txtPostalCode.Text
dr(0).EndEdit()
da.Update(ds, "Employees")
MsgBox("Record Edited Successfully")
Disabling()
End Sub
Problem is that this I did with text boxes.What Im looking for is updating directly from the datagrid.Thanx in advance
kagiso
|
|
|
|
|