Jump to content

soona

Members
  • Content Count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutral

About soona

  • Rank
    Newbie
  1. soona

    File Upload Control

    hi,How to save uploaded images in xml file using asp.net with C# codebehind?Thanks
  2. soona

    Checkbox

    Hi,I am using asp.net with c#.i want to see the url link open in new window.when the checkbox will check. otherwise the link url open in same window without check the checkbox.how can i write code for this? i can see only link opened in new window for this code "chkNewWindow.Checked =true" on Page_Load event.In storeprocdure i have created field for 'chkwindows' with 'bit' datatype.Thanks
  3. Hi,i am using asp.net with c# codebehind.The Repeater control have checkbox, textbox.when i will enter some text in textbox control.it should display only the checked the entered text when i click submit button.how can i write code for this?Please send some sample code.
  4. soona

    Submit Button

    Hi,i am using asp.net with c#.i want to show decode my textbox value.for example i have two textbox controls,submit button and a label.i get the url name in text1.text, title in text2.text and a lable for display ouput.when i click submit button my output should display like this"www.sample.com?customerid=091&fullcode=erb90br7e6br7"please my ouput each word means fullcode -> (customerid(190) + title(text2.text[value]) .how can i decode this ?please advise me with codethanks
  5. Hi,i have one gridview . i want to display a Amount column on gridview with datas from database.Please check where i made a mistake in my below code.Because of i cannot see datas on grid view.But, it showing this error messages "Unable to cast object of type 'System.Data.DataRowView' to type 'Main.Details.Item'.i don't know this error message was link with in GridView. <asp:GridView ID="Grid1" runat="server"><Columns> <asp:TemplateField HeaderText="Amount"> <ItemTemplate> <asp:Label ID="Amount" runat="serve
  6. soona

    Server Controls

    Hi,i want to redirect some different page from gridview.When i click a particular row of column button on gridview .It will be redirect different page not a same page.For example: In gridview have 2 rows and 3columns.For each 2 rows have a buttons with data column.when i will click the 1st rowth of button in gridview. this button event should redirect some page(1stpage.aspx). and when i will click 2nd rowth of button in gridview.this button event will redirect some page. but do not redirect a same page(2ndpage.aspx).This can make to possible?----This code for listed out the datas on gridview
  7. soona

    Gridview

    Hi,I am using asp.net 2.0 with c#.I have one Gridview with 3 rows and 4 columns. In the 1st row no need 5th column. if more than one row.I want to add a button in 2nd row of 5th column but not for 1st row.Is this possible in a gridview?If it is possible pls give some source or reference.Thanks
  8. Hi,In Repeater1 control after more than one row. next row will display button and Itemtemplate name.For example:In repeator control listed outpinkblueWhiteFrom this example i would like to change this likepinkblue button1(event)white button2(event)----------This is my existing code. i need to modify the above example.category.aspx<asp:PlaceHolder ID="panel1" runat="server"><ul><asp:Repeater ID="Repeater1" runat="server"><ItemTemplate><li ><asp:Literal ID="Label1" runat="server" Text='<%#Eval("Name")%>' /></li></ItemTemplate></asp:Repeate
  9. soona

    Gridview Controls

    Hi,I am using asp.net2.0 with c# language.My doubts in GridView control.when i select three items at same time from categories(Fruits, Apples, Gifts). The selected items are displayed in gridview.Here i would like to change this "when i click more than one category at same time. it should be display selected item and button."For example: if i have to select Fruits, Apples from categories. it should be display like 1st "row have Fruits and In 2nd row have Apples and button" in gridview.the button have some event.How can i do it? Please can anyone answer me.With kind requestThanks
  10. soona

    Browser Issue

    hi,i am using asp.net with c# code behind.i created my own module with image effects using javascript.Explanation:i just get the value of width and height from end user for uploaded images.It works fine.but one issue will occurred.how to solve this issue?when i refresh the page. the uploaded images are display repeated without effects . that means it displayed the saved images. then It takes the effects. So, Please give some suggestion for my related questions.How to solve the issue : when i refresh the browser the images are display with repeatedly ! actually , my concept is need to displa
  11. soona

    Image Preload

    How to use image preload in asp.net .actually, i get the images from db to list out in repeatercontrol and the button click event shows the images.my worries :1. the uploaded images is not set the effects. it just shows the repeatedly(onebyone).when i fresh the browser. it shows the issue(one by one images).my ideas:So, i guess to use the "image preload " concept in asp.net. i just copy the JavaScript code from Google for imagepreload concepts.----------------------------------<script type="text/javascript">var myimages=new Array()function preloadimages(){for (i=0;i<preloadimages.argu
  12. soona

    Imagesize Function

    hi,Subject: ImageResize in else statement.i am using asp.net with c#.when i upload a image it will check the valid image width and height size.if it is valid saved. if it is invalid got to resize.for example:This is my code to check the valid image width and height size.=======protected void cmdUpdate_Click(System.Object sender, System.EventArgs e) {using (System.Drawing.Bitmap objmap = new System.Drawing.Bitmap(FileUpload1.PostedFile.InputStream, false)) { int one, two; string path2 = ""; one = Convert.ToInt32(fixedWide);
  13. hi,i am using asp.net with c# versionGenerally, the upload file control will get the whatever images(some different images and sizes) and saved.My doubt:I just create my code:when i upload the image with condition (fixed width and height sizes)its uploaded and saved.but it doesn't get same images(imagename).for example: i uploaded this image "car.gif(200 X 200)" it saved in my created path at once.again i uploaded the same image "car.gif(200 x 200)" it doesn't saved in my created path.actually i doesn't get it the same imagename.why?Please explain and reason for this.....I want to uploaded sam
  14. How to replace the Lowercase into uppercase for each word of starting character ?for example: "w3schools are superb experts" need to replace "W3schools Are Superb Experts"It is possible to do in javascript ? if it is do . please give some reference or source.Thanks
  15. soona

    day and month

    Hi, "i want to display exact months and days displayed in two textboxes".This is my following, my code is not work . please check where i made mistake , if any easy way .please let me know. thanks in advance---------------function getDiff(){var date1 = document.getElementById( "gmdpEmpprojStartDate" ).value;var date2 = document.getElementById( "gmdpEmpProjEndDate" ).value;if (date1.indexOf("-") != -1) { date1 = date1.split("-"); } else if (date1.indexOf("/") != -1) { date1 = date1.split("/"); } else { return 0; }if (date2.indexOf("-") != -1) { date2 = date2.split("-"); } else if (date2.indexO
×
×
  • Create New...