Click here to Skip to main content
       

ASP.NET

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
JokeRe: aspnet_wp process crashmemberjkirkerx5 Dec '12 - 17:27 
900 megs of ram is huge. Are you searching for extraterrestrial life beyond our milky way?
 
infinite loop, declaring a buffer within the loop over an over
Questionexit from a masterpagememberjuan manuel rdz3 Dec '12 - 8:01 
good morning
i created a masterpage for my project
and i have a problem, i can't exit.
 
only has 3 options and the exit
i can acces every option and back
but when i back to the menu i can't exit
i try with the event window.close but only the first time
functions, when redirect and back to the menu i can't exit.
 

 
<tr>
    <td class="style7" colspan="0">
        <asp:LinkButton ID="lbtn_reglas_negocio_ao0" runat="server" CausesValidation="False"
            Font-Underline="True" PostBackUrl="~/Pagina1.aspx"
            style="font-size: large">Consulta Ayudas de Oficina</asp:LinkButton>
    </td>
</tr>
<tr>
    <td class="style7" colspan="0">
        <asp:LinkButton ID="lbtnSalir" runat="server" CausesValidation="False"
            Font-Bold="True" Font-Overline="False" Font-Underline="True"
             style="font-size: large" onclientclick="window.close();">Salir</asp:LinkButton>
    </td>
</tr>
 
thanks in advance
GeneralRe: exit from a masterpagemember@AmitGajjar3 Dec '12 - 18:09 
What you mean by exit from the masterpage ? do you want to redirect to another page or anything else ?
Thanks
-Amit Gajjar (MinterProject)

AnswerRe: exit from a masterpagememberHimanshu Yadav4 Dec '12 - 18:47 
Yr question is not clear do you want to logout.
QuestionRe: exit from a masterpagememberryanb315 Dec '12 - 4:37 
What do you mean by exit?
There are only 10 types of people in the world, those who understand binary and those who don't.

QuestionGenerating proxy from Soap UImemberindian1433 Dec '12 - 7:43 
Hi All,
 
I have an asp.net application which is client for a java web service. The java web service internally talks to an IBM database through natural language.
It is said that this java web service doesnt work like "url?wsdl" format. So I am unable to use add service reference for this. I have to create the proxy by using physical path like this "\\xxx\xxx\xxxxx.wsdl" because it doesnt run with "http://xxxx?wsdl".
 
Is there any way to create proxy for this using wsdl tool.
Thanks & Regards,
 
Abdul Aleem Mohammad
St Louis MO - USA

AnswerRe: Generating proxy from Soap UImemberdeflinek7 Dec '12 - 1:59 
wsdl.exe accepts both url or local path. You may run into problems using path to a network share, however you can try either copy the file locally or mapping drive for that share (look here[^] for example).
--
"My software never has bugs. It just develops random features."

QuestionProblem sending arabic unicode SMS [modified]memberJassim Rahma3 Dec '12 - 7:11 
Hi,
 
I would like to ask what's the best way to send arabic unicode sms by email through Clickatell?
 
I am using this code but some of the characters are not showing properbly when the sms recieved:
 
    private string ToUnicode(string val)
    {
        Encoding utf8 = Encoding.UTF8;
        Encoding unicode = Encoding.Unicode;
 
        byte[] utf8Bytes = utf8.GetBytes(val);
 
        byte[] unicodeBytes = Encoding.Convert(utf8, unicode, utf8Bytes);
 
        var result = ByteArrayToString(unicodeBytes);
        result = result.Substring(result.Length - 2, 2) + result.Substring(0, result.Length - 2);
        return result;
    }
 
    public static string ByteArrayToString(byte[] ba)
    {
        StringBuilder hex = new StringBuilder(ba.Length * 2);
        foreach (byte b in ba)
            hex.AppendFormat("{0:x2}", b);
        return hex.ToString();
    }
 
www.JassimRahma.com[^]

 
Technology News @ www.JassimRahma.com


modified 3 Dec '12 - 13:29.

QuestionPostback issuememberrakeshs3123 Dec '12 - 2:57 
I Have a gridview . When i click one of the files in the gridview , it will display the file details in a table in the grid.But if i am in 20th or 19th page of the gridview, after clicking on the file , the grid is comming to page 1. Is there any property for the grid to prevent this.
AnswerRe: Postback issuemember@AmitGajjar3 Dec '12 - 18:11 
Basically Viewstate maintain all this information about current page of the grid. check if it is not disabled for you. another way is, you can also store page number in the session and update only when next,previous ,first, last button click or grid is refresh.
 
hope this will help you.
Thanks
-Amit Gajjar (MinterProject)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid