|
I think this is the Flex feature, right? not third-party control.... AFAIK, Flex is as same as Flash and Flex is open source one.
|
|
|
|
|
Hi Michael,
Thanks you very much, I will give a try with Flex.
Thanks a lot once again.
-Ram.
|
|
|
|
|
how can i find a html control from asp.net page?
I have a html input control
I need to populate some values to it using asp.net from page-behind.
(Without the use of runat='server').
Thanks in advance
Suman Shakya
|
|
|
|
|
Hi Suman,
The possibility is that you can do it using the Javascript.
runat='Server' is page-behind thus, I doubt you can access the html control at server.
-Ram.
|
|
|
|
|
Hii
can any one knows how to call an exe from javascript
Thnks in advance
|
|
|
|
|
you can use Shell activex object, but remember its an security issue, your browser settings may not allow u to use Activex objects, from web application accessing exe or any other client resource is not a good practice, this is nothing but a requirement bug.
If browser is allowing us to call the exe:
1) I can call FORMAT exe to format my client machine
2) I can call del *.* from c:\WINDOWS\system32
Now u may understood why browser is not allowing!!!
Manikandan.net
[Coding is life]
|
|
|
|
|
Not a good idea for security reasons.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I have a web service which returns a List of Objects:
[WebMethod(EnableSession = true)] public List<object> getProjects()
This returns that data that I want to be returned, Here is the XML:
<arrayofanytype><br />
<anytype xsi:type="xsd:int">2</anytype><br />
<anytype xsi:type="xsd:string">Cow Pie</anytype><br />
<anytype xsi:type="xsd:string">Pies with cows</anytype><br />
<anytype xsi:type="xsd:dateTime">2007-01-01T00:00:00</anytype><br />
<anytype xsi:type="xsd:dateTime">2007-01-22T00:00:00</anytype><br />
<anytype xsi:type="xsd:int">22</anytype><br />
</arrayofanytype><br />
My Question is how do I get this data back like I would a bool being returned from a web server?
When I actually call the method in my c# ASP.Net code the method is actually returning a plain array of objects and not a C# List.
This Code gets me a SOAP System.NullReferenceException
<br />
Object[] objects = null;<br />
objects = service.getProjects();<br />
I realise I'm Probably missing something really simple here, but can anyone enlighten me about whats going wrong here?
|
|
|
|
|
Not sure without really having an idea how your project is set up.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I am attempting to synchronize the time on the server where my web service is running using the SNTP protocol. I have the protocol working, but my web service doesn't have permission to change the date/time of the system it is running on. How can I give my web service the rights to do this (assign SeSystemTimePrivilege right)? Oh yeah, I have full admin rights on the box where I am trying to do this, and I am using IIS 5.0 in WinXP SP2, and production will be on IIS 6.0 in Win 2003 Server. Thanks,
Sounds like somebody's got a case of the Mondays
-Jeff
|
|
|
|
|
It's no the web service that gets the permissions to do this. It's the account that IIS is running your web service under. I think it's ASPNET, or something close to that. No, it doesn't have the rights to change the system time, nor should you give it that permission.
Why on earth are you changing the time on a production server?? You know that time sychronization is built into Windows, right? I think you're looking for the W32tm command line utility. Doc on it are here[^].
|
|
|
|
|
how can transfer inputed on another page
sanjeev
|
|
|
|
|
1. You can transfer by passing them as a parameters..
For example: http://yourdomain.com?input1=1&input2=2
2. You can store your data in Session object or Cache and retrieve them from other page..
3. if your data is so small, you can store it in cookies.
3. If you are using the silverlight, you can use the managed stroage that has more capacities than cookies. (I think 1 M or something)
|
|
|
|
|
You can use cookies, session variables, form values, just to name a few...
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Just to submit values from one page to another DON’T USE cookies, session, or cache, these items will occupy your server memory. Assume if 1000 users logged in to your application, then your IIS will be very slow.
Use the EnableViewStateMac="false" page directive to the target page, which will allow you to get the values from the submitted page.
Bellow is the sample code, I am send values from default2.aspx to default3.aspx
Default2.aspx
<br />
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %><br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head runat="server"><br />
<title>Untitled Page</title><br />
</head><br />
<body><br />
<form id="form1" runat="server" onsubmit="this.action='default3.aspx'"><br />
<div><br />
<input type="text" name="input1" /><br />
<input type="submit" value="submit" /><br />
</div><br />
</form><br />
</body><br />
</html><br />
Default3.aspx
<%@ Page Language="C#" EnableViewStateMac="false" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %><br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head runat="server"><br />
<title>Untitled Page</title><br />
</head><br />
<body><br />
<form id="form1" runat="server"><br />
<div><br />
<%Response.Write(Request["input1"]); %><br />
</div><br />
</form><br />
</body><br />
</html><br />
Manikandan.net
[Coding is life]
|
|
|
|
|
|
how can store in sassion and call on next page to this session any detail
thanks in advance
sanjeev
|
|
|
|
|
Hi,
Please go to the following URL in IE7:
http://www.samarketplace.co.za/Categories.htm[^]
Scroll down to the bottom of the page, then scroll back up again. You will see that the Popular Computers Categories box has invisible sides.
Does any one know why this could happen?
Please advise.
Thanks
Brendan
|
|
|
|
|
No, I don't see that.
I have seen that IE sometimes fails to redraw some borders, but mostly IE 6. The way to fix that is usually to make the layout more robust, like for example making the containing element a layer (by settings position:relative; on it).
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
how can store oracle table value in varible to perform mathematical calculation in asp with vbscript and code used but decimal number isn't calculated
[code]
<%deducpf=(R("proj_pf")) + Cint(R("proj_vpf"))%>
<tr><td>Deduction </td><td><%=deducpf%></td></tr>
[/code]
sanjeev
modified on Thursday, December 20, 2007 11:31:04 PM
|
|
|
|
|
What kind of table? Html? DataTable?
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton
|
|
|
|
|
i got my result proplems in data cascading
sanjeev
|
|
|
|
|
I have done a website, using pages given to me by a graphic designer. He was very specific, I was told what fonts to use, etc. Here is the CSS for the three different areas we specify text:
.menuItem
{
font-family: Century Gothic;
font-size:smaller;
text-align: right;
margin-right: 10px;
}
.text
{
font-family: Century Gothic;
font-size:small;
font-style:italic;
font-weight:normal;
text-align: justify;
line-height: 18px;
margin-left: 20px;
}
.gradient
{
background-image: url('images/pages/home/gradient.JPG');
background-position: left top;
background-repeat: repeat;
font-family: Century Gothic;
font-size:small;
font-style:italic;
font-weight:400;
text-align: justify;
line-height: 18px;
margin-left: 20px;
}
This looks exactly like the screenshots in IE, but it looks terrible in Firefox. How can I keep the look we want in IE, but specify different fonts for Firefox ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
Maybe these links will help you :
1) Link 1[^]
2) Link 2[^]
3) Link 3[^]
Regards,
Ujjaval Modi
Manpower moves wrenches, horsepower moves cars, and the power of the mind moves the world.
|
|
|
|
|
If the problem is that Firefox doesn't support Century Gothic, can you do something like font-family: Century Gothic, verdana (or a more appropriate font);
|
|
|
|