|
to do so, just write runat="server" attribute for the input control
============================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Please reply here because I have some questions about using Microsoft CRM Web Services.
Thanks in advance...Best Regards
3ala2
|
|
|
|
|
So, what are the questions? Posting them will get you faster assistance. I don't know MS CRM that well myself, but I am sure if you ask the questions someone here will be able to assist.
|
|
|
|
|
I want to create ASP.net forms that write to CRM entities.
I need to know the best practice to apply that Best Regards
3ala2
|
|
|
|
|
Generally you need to go through a webservice that uses the CRM SDK.
This is important!
You can not write directly to the CRM database. If you do, you invalidate any warranty supplied by Microsoft, and (more importantly) you will probably break CRM to such an extent that you will need to start over (with a fresh install).
If you want more info, look at the documentation that comes with CRM and the CRM SDK.
Having said that, I have applications that read CRM filtered views, and that does not seem to hurt it.
So, getting information out, you can go direct. Getting information in - SDK Only!
|
|
|
|
|
Hi,
I'm working on a project that requires some links showing their website's related favicon. Haven't used javascript in a while but managed to write this:
linkIcon = new Image();
linkIcon.src = "http://www.youtube.com/favicon.ico";
if (linkIcon.complete)
tdElem.innerHTML = "<img src=\"http://www.youtube.com/favicon.ico\"></img>";
I'm using youtube address as an example here. The problem is that it doesn't show the related icon the first time the page loads but after hitting refresh all icons are in place.
Any suggestion will be appreciated...
|
|
|
|
|
I'm going to guess that the
if (linkIcon.complete) occurs
before the image is ready the
first time through but on refresh
it comes from the cache so it is
ready.Heres how I would do it ...
<html>
<script>
linkIconYt = new Image();
linkIconYt.src = "http://www.youtube.com/favicon.ico";
linkIconMsn = new Image();
linkIconMsn.src = "http://www.msn.com/favicon.ico";
init = function(){
var imgYt = document.getElementById('Yt');
imgYt.src = linkIconYt.src;
var imgMsn = document.getElementById('Msn');
imgMsn.src = linkIconMsn.src;
}
</script>
<body onload='init()'>
<img id="Yt">
<img id="Msn">
</body>
</html>
|
|
|
|
|
Hi Friends,
I have a page works in Firefox, but not in IE. IE automatically truncate a part of text in one line and display it in next line. Do you guys have any thoughts or suggestion for this kinda issue? please give me a direction or source to reference, many thanks!
|
|
|
|
|
alexyxj wrote: Do you guys have any thoughts or suggestion
Yes. Show a little of what you have done. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
thanks Guys, I've solved the problem, it's about the container width, which is a little bit smaller than the total width of its table cell. Firefox ignores this but IE doesn't, break the second table cell into two lines.
^_^ anyway, thanks for your time...
|
|
|
|
|
how to get posted data value in javascript during round trip
|
|
|
|
|
I am working on an app for a big company and we have a subdomain website page that is opened by javascript.
We want to have the opened page redirect the window.opener when it is closed. The big thing is that the opener is on a different subdomain (same top level domain). Will this be permitted or is blocked by browser 'cross-site scripting'?
I've tried a couple methods but can't seem to get it to redirect. Mainly trying
window.opener.location.href='blah.htm';
|
|
|
|
|
Try opening this page with javascript ...
<head>
<title>popup</title>
<body>
Close this window with the CloseMe button or with the browser control.
<FORM>
<INPUT type="button" value="CloseMe!" onClick="window.close()">
</FORM>
<script>
window.onbeforeunload=function(){window.opener.location.href="http://msn.com"}
</script>
</body>
</html>
|
|
|
|
|
Not sure whether it's called like this. But here's what I intend to do is:
I have an application that embeds mozilla's gecko to display html with support for css and javascript. Inside the html, there maybe some hyperlinks or forms that needs to dynamically generate new html content. Instead of sending a request to a remote server to handle the request. I want to handle the request within the application. So I have to embed a local server in the application to do the job. Is it right or there's a better way? Are there such code project or some references for this kind of design?
Many thanks~
|
|
|
|
|
|
ryanstd wrote: Inside the html, there maybe some hyperlinks or forms that needs to dynamically generate new html content.
Sounds like ASP, and you can re-use the ASP.NET runtime[^] to generate dynamic HTML. You don't even need a webserver to do so I are Troll
|
|
|
|
|
Hi!
How can I check the validation of the email by searching '@' character inside of document.getElementById('email').value
or does anybody have better idea?
|
|
|
|
|
I've come at this from a .NET approach so it'd just be a regular expression validator control with the expression:
"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$"
There's quite a few at regexlib.com if that doesn't match what you want, judging by your original question, I'm assuming you might just be working solely in javascript in which case, same expression should work with the javascript regular expression object but it's not one I've used.
|
|
|
|
|
|
I recently got a new computer and am now running Windows 7, which I'm not very familiar with (previously on XP).
I have imported a couple of web applications from my old box but I am having problems accessing ASP pages. That's old fashioned ASP, not .NET. I constantly get Error 403.1 even though I have checked that all folders within my InetPub folder have execute access enabled.
Actually, not quite all. I have discovered that if I set up an ASP page at the top level then the following works:
http://LocalHost/Test.asp
but the same test page one level down fails:
http://LocalHost/BBL/Test.asp gives 403.1 error.
I have tried grovelling around in IIS manager but it's all changed since I last used it in anger. Under Sites I have "Default Web Site" and under that BBL as a web application. I have right clicked on BBL and chosen Edit Permissions... and all the listed users, including IUSR and IIS_IUSRS, have read and execute permissions checked. The underlying Windows directory also has execute permission. What have I missed here? How do I make the ASP pages within my application work correctly?
|
|
|
|
|
|
Dave
Thanks for your suggestion but the link in your posting just takes me back to the current thread. Is there something missing?
Keith
|
|
|
|
|
|
Thanks Dave
I right clicked the BBL folder in Windows explorer, chose properties then permissions and set Read/Execute access on for IIS_WPG as suggested and it still doesn't work. So I set Read/Execute access for Everyone and still it fails.
I tried setting permissions on the actual ASP file and most were greyed so I couldn't change them (but Read/Execute was already set). I added Everyone to the list of users and gave Everyone Read/Execute permission and still my ASP script won't run.
I am beginning to tear out what little hair I've got left. Is there some setting in IIS manager that I'm missing?
Keith
|
|
|
|
|
Hello,
How can I call internet explorer or any standard browser on system from my VC++ program.
I want to go to my Home page with a button click. So simple ! but I can't.
thankyou!
|
|
|
|