|
plz dnt x pst man.
(please don't cross post)
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
|
|
|
|
|
Malcolm Smart wrote:
plz dnt x pst man.
(please don't cross post)
You just wanna type two times per line??? I think it is pretty okay if you just write this line "please don't cross post" only... Just kidding...
Malcolm Smart wrote: "I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
You don't like to interrupt her or You are trying to be CP MVP like Dave.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Check out Hewitt Packer (HP). They are leading the pack. They just passed Dell and IBM. Who is next on their list? Don't trust me. Research it.
|
|
|
|
|
Hi, here's a quick question
I wanna open an XML document in a web broser so that all its node come up as collapsed. and there's nothing else I wanna do with the formatting.
please give some hint/guidance or anything
Thanks in advance
Rocky
|
|
|
|
|
Rocky71 wrote: Re: Can u plz give me a sample XSL code to collapse all the nodes in an XML document
I don't think you need XSL to do that. The browser itselft already handles this part..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Well that's nice but HOW?? Can u give me any clue... how can we transform the XML so that all its nodes become collapsed
|
|
|
|
|
Rocky71 wrote: Well that's nice but HOW?? Can u give me any clue... how can we transform the XML so that all its nodes become collapsed
Please try to open your XML file in browser. and see what it looks like.. I think, all nodes are collapsed automatically. we need nothing to do.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Thats not the case Sir, It opens the file with all the nodes expanded not collapsed.
|
|
|
|
|
Hi, I created a web service and exposed three functions in that. One of which is as below...
[WebMethod]
public string PostInvoiceDetails(int intAccLocID, int intSubStream, int intSupplierType,string dtInvDate, string strYearCode, string strPeriod, string strApptNo,UltraWebGrid grdGrid, string strCurrencyCode, string strExchRate)
{
FileInvoiceBO objFileInvoiceBO = new FileInvoiceBO();
return objFileInvoiceBO.PostInvoiceDetails(intAccLocID, intSubStream, intSupplierType, dtInvDate, strYearCode, strPeriod, strApptNo, null, strCurrencyCode, strExchRate);
}
Now problem is when I am passing the UltraWebGrid control as parameter inthe function I am getting below error...
The XML element 'EnableTheming' from namespace '~/Service.asmx' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element.
However removing grid object and passing dataset is working fine, but it will push me to change the function definition which I dont want to do. If any one has encountered this error before and got the solution please help me in this..
Thanks,
|
|
|
|
|
Why do you wanna pass the whole control to web service? it is very very very strange to me. For me, I used to create the web service as the business layer for my project. We used to pass the normal types (int, string) or custom serialized object only. (not the control) In your case, I think it might be okay if you pass the DataSet or Datatable instead of UltraWebGrid control..
Another suggestion is that if you are using some thirty-party controls (eg: UltraWebGrid or CompoentOne or etc ), it would be the best way to ask to their support teams. Since you are one of the customer for them, you will give you more accurate answer and best solution in short time. It's just a suggestion. I believe that there might be some developers who are using thirty-party controls.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi Friendz...
I have downloaded the trial version of MOSS2007. Report center template is missing in Enterprise category of Default Templates. Can you please tell me that How can I proceed to work with Reporting services? Does Microsoft give All templates in trial version?
Please help me if you have any idea...
thanks in advance
|
|
|
|
|
Hi,
I just wanted to know if this link is the Microsoft forums link:
http://forums.microsoft.com/[^]
I know it says forums, but I don't see any posts on ASP.NET. Someone else told me you can maybe post questions under an asp:Menu section to be more specific.
Regards,
ma se
|
|
|
|
|
http://forums.asp.net [^]
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Why don't you ask in ASP.NET section of our forum (codeproject)??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi guys,
I'm developing my website and I'd like to make it available in more than one language.
Do you know any good method to be able to display txt in the user's selected language ?
My host is running Linux, MySQL & supports PHP, so I've thought of using some sort of "marker/link" instead of directly putting the txt in the HTML page, with a request to the DB which would retrieve the appropriate txt depending on which language the user has previously chosen.
Any thoughts?
|
|
|
|
|
It's very easy to do with ASP.NET. (ASP.NET 2.0 supports custom culture for those languages that doesn't have as build-in in Windows. eg: burmese)
but it's sad to say that the host that you bought won't supports ASP.NET and the most of us here are ms guys. So, I'm not sure how to globalize in PHP. I know one good reference. This is Wordpress PHP blogging tool[^]. This blogging software is completely written in PHP and it supports multi-languages.
Or, If you don't want to spend your time for exploring wordpress code then it's better if you ask about this in PHP forum..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi,
I have a file upload control.I want to set its file types as only csv file.How can I do it
Prajin
|
|
|
|
|
AFAIK, you can't do that. maybe. you could try Flash or ActiveX components...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
You can find a couple methods at the following Link.
Basically you have a form, you have a file upload control, before you continue execution you check the postedfile filename's extension (i.e: Last 3 indices).
|
|
|
|
|
Can we do session management using .NET Enterprise Library. If yes then i need a starting point. Can any body help me plz?
|
|
|
|
|
Don't think so! But why do you need to manage sessions from Enterprise Library??
|
|
|
|
|
Hi,
I have developed function to drag image within a page which is as below:
function move(){
if (dragok){
moveImg.style.left = dx + event.clientX - x + "px";
moveImg.style.top = dy + event.clientY - y + "px";
return false;
}
}
/*function down(e){
dragok = true;
document.onmousemove = move;
return false;
} */
function up(){
dragok = false;
//if(moveImg)
//{
moveImg.style.left = 0 + "px";
moveImg.style.top = 0 + "px";
//}
//moveImg.style.zIndex = "0";
//srcImg.style.zIndex = "0";
}
var movePos;
var oldPos;
var newPos;
function doMouseDrag(pos)
{
dragok = true;
movePos = pos;
oldPos = document.getElementById("cp"+pos).value;
var temp = document.getElementById("snapshotArea"+movePos);
srcImg = document.getElementById("snapshotImg"+movePos);
//temp.style.zIndex = "-100";
//srcImg.style.zIndex = "-100";
moveImg = temp;
dx = parseInt(moveImg.style.left);
dy = parseInt(moveImg.style.top);
x = event.clientX;
y = event.clientY;
//window.scrollBy(100,200);
}
function doMouseDrop(pos)
{
dragok = false;
newPos = document.getElementById("cp"+pos).value;
if(newPos == oldPos)
return;
if(newPos > oldPos)
{
// for(var k=oldPos;k
|
|
|
|
|
Parts of your code is not showing. Use the "Ignore HTML" option when you are posting code that contains < characters, or use the formatting tools to insert the html code for it where it appears. (This is a common problem because of the awkward way that this forum handles posts with html code.)
What do you mean by "not working"?
What happens when you run the code? Do you get any error messages? (Open the Error Console to see Javascript error message in Firefox.)
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi,
Thanks for your reply.
Actually I want to drag image in my browser in such a way that I am creating a new image(div) and drag it to the destination.
here is my function for creating a copy of a div
function doMouseDrag(pos)
{
dragok = true;
movePos = pos;
oldPos = document.getElementById("cp"+pos).value;
temp = document.getElementById("sources");
srcImg = document.getElementById("snapshotImg"+movePos);
moveImg = document.createElement("IMG");
moveImg.id = 'mImg';
moveImg.src = srcImg.src;
moveImg.style.position = "absolute";
moveImg.style.zIndex = "-100000000";
moveImg.style.left = 350+"px";
moveImg.style.top =(oldPos * 155)+150+"px";
moveImg.style.width = "108px";
moveImg.style.height = "80px";
moveImg.style.marginRight = "10px";
moveImg.style.border = "1px #CCC solid";
temp.appendChild(moveImg);
dx = parseInt(moveImg.style.left);
dy = parseInt(moveImg.style.top);
}
This code works fine only in IE but not working in FireFox and also it gives no error for that.
Please help me.
Thanks again
James
|
|
|
|
|
What do you mean by "not working"?
If you really mean that the code should create a copy of a div, that is your problem, as the code doesn't do that. It creates a copy of an image.
If you mean that the code should create a copy of an image, it does that, and it works just fine in Firefox.
---
single minded; short sighted; long gone;
|
|
|
|