Click here to Skip to main content
15,924,829 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionNot able to read the dynamic controls Pin
rajasreepradeep26-Aug-08 21:53
rajasreepradeep26-Aug-08 21:53 
AnswerRe: Not able to read the dynamic controls Pin
Gayani Devapriya26-Aug-08 22:41
Gayani Devapriya26-Aug-08 22:41 
GeneralRe: Not able to read the dynamic controls Pin
rajasreepradeep26-Aug-08 23:39
rajasreepradeep26-Aug-08 23:39 
Questionajax toolkit Pin
arkiboys26-Aug-08 21:39
arkiboys26-Aug-08 21:39 
AnswerRe: ajax toolkit Pin
eyeseetee26-Aug-08 22:01
eyeseetee26-Aug-08 22:01 
QuestionIrrespective of the file type(Audio or video) it shud play when user cliks on filename Pin
reogeo200826-Aug-08 21:35
reogeo200826-Aug-08 21:35 
QuestionChange Web Application folder Pin
peter_790126-Aug-08 20:45
peter_790126-Aug-08 20:45 
AnswerRe: Change Web Application folder Pin
eyeseetee26-Aug-08 21:51
eyeseetee26-Aug-08 21:51 
GeneralRe: Change Web Application folder Pin
peter_790127-Aug-08 13:16
peter_790127-Aug-08 13:16 
Questionhow to restrict image folder from direct access Pin
Neeraj Arora26-Aug-08 20:34
Neeraj Arora26-Aug-08 20:34 
AnswerRe: how to restrict image folder from direct access Pin
Abhishek Sur26-Aug-08 21:00
professionalAbhishek Sur26-Aug-08 21:00 
GeneralRe: how to restrict image folder from direct access Pin
Neeraj Arora26-Aug-08 21:10
Neeraj Arora26-Aug-08 21:10 
AnswerRe: how to restrict image folder from direct access Pin
N a v a n e e t h26-Aug-08 21:05
N a v a n e e t h26-Aug-08 21:05 
GeneralRe: how to restrict image folder from direct access Pin
Neeraj Arora26-Aug-08 21:08
Neeraj Arora26-Aug-08 21:08 
GeneralRe: how to restrict image folder from direct access Pin
N a v a n e e t h26-Aug-08 23:30
N a v a n e e t h26-Aug-08 23:30 
GeneralRe: how to restrict image folder from direct access Pin
Neeraj Arora27-Aug-08 1:02
Neeraj Arora27-Aug-08 1:02 
AnswerRe: how to restrict image folder from direct access Pin
NeverHeardOfMe26-Aug-08 22:46
NeverHeardOfMe26-Aug-08 22:46 
QuestionSuggestion for continous printing Pin
Jagwinder Walia26-Aug-08 20:29
Jagwinder Walia26-Aug-08 20:29 
AnswerRe: Suggestion for continous printing Pin
N a v a n e e t h26-Aug-08 21:07
N a v a n e e t h26-Aug-08 21:07 
GeneralRe: Suggestion for continous printing Pin
Jagwinder Walia26-Aug-08 21:28
Jagwinder Walia26-Aug-08 21:28 
QuestionThe server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) for VB DLL Pin
Jai Sankar N26-Aug-08 20:18
Jai Sankar N26-Aug-08 20:18 
Questionfil uploade with update panel of ajax Pin
UD(IA)26-Aug-08 20:09
UD(IA)26-Aug-08 20:09 
simple example :- i have problem in this code how can i remove.
<body>
    <form id="form1" runat="server">
    <div>
        <asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown">
        </asp:scriptmanager>
        <asp:updatepanel id="UpdatePanel1" runat="server" xmlns:asp="#unknown">
            <contenttemplate>
                 <asp:updatepanel id="UpdatePanel2" runat="server" childrenastriggers="False">
                    UpdateMode="Conditional">
                    <contenttemplate>
    <asp:fileupload runat="server" id="fu1" />
                    </contenttemplate>
                    <triggers>
                        <asp:asyncpostbacktrigger controlid="btn" eventname="Click" />
                    </triggers>
                </asp:updatepanel>
                 
    <asp:button runat="server" id="btn" text="ok" onclick="btn_Click" width="41px" />
            </contenttemplate>
        </asp:updatepanel>
           
    </div>
    </form>
</body>


protected void btn_Click(object sender, EventArgs e)
    {
        string str11 = fu1.FileName;
        if (fu1.FileName != "")
        {
            //string a = Convert.ToString(ViewState["emp_id"].ToString());
            string str = "~/images/photo/";
            str = Server.MapPath(str);
            str = str + "a" + ".jpg";
            //FileUpload2.SaveAs(str);
            //r1["emp_photo_url"] = "~/images/photo/" + a + ".jpg";
            //dt.update(tblco, "select * from tbl_product");

        }
    }


str11 have nothing while select a file and first update panel is also necessary for my code. please solve my problem? Big Grin | :-D

I will do my best?

AnswerRe: fil uploade with update panel of ajax Pin
Brij26-Aug-08 20:30
mentorBrij26-Aug-08 20:30 
GeneralRe: fil uploade with update panel of ajax Pin
UD(IA)26-Aug-08 21:45
UD(IA)26-Aug-08 21:45 
GeneralRe: fil uploade with update panel of ajax Pin
Brij26-Aug-08 22:01
mentorBrij26-Aug-08 22:01 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.