Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

subbu sk

@subbu sk
About
Posts
69
Topics
46
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • inactive one dropdownlist while we select item in another dropdown list
    S subbu sk

    Hi all, i need to inactive one dropdownlist while we select item "Photo prints " in another dropdown list. and i need to display a text in txtcomment "My order is of minimum Rs. 2,500.". i am sending my code pls help me... If Not Page.IsPostBack Then Me.ddlproduct.Items.Add("Select") Me.ddlproduct.Items.Add("Photo Prints") 'If Me.ddlproduct.SelectedValue = "Photo Prints" Then ' 'Me.ddlquantity.Enabled = False ' txtcomment.Text = "My order is of minimum Rs. 2,500." 'End If Me.ddlproduct.Items.Add("Custom Calendars") Me.ddlproduct.Items.Add("Collage Posters") Me.ddlproduct.Items.Add("Greeting Cards") Me.ddlproduct.Items.Add("Photo Mugs") Me.ddlproduct.Items.Add("Zoomini Books") Me.ddlproduct.Items.Add("Zoomin T-Shirts") Me.ddlquantity.Items.Add("Select") Me.ddlquantity.Items.Add("30-50") Me.ddlquantity.Items.Add("51-100") Me.ddlquantity.Items.Add("101 & Above") End If and Protected Sub ddlproduct_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlproduct.SelectedIndexChanged If Me.ddlproduct.SelectedValue = "Photo Prints" Then Me.ddlquantity.Enabled = False txtcomment.Text = "My order is of minimum Rs. 2,500." End If End Sub

    Thanks Subbu.

    ASP.NET help

  • need to close iframe at runtime and create new one after i click url
    S subbu sk

    Hi all, i had one url ,like see videos. if i click the url then one div tag which contains iframe will be opened.and i had one close button which is used to hide the div tag. if i click the close button then div tag will be closed but not the iframe. i need to close the iframe also. and i click the url, second time the same iframe will be created. at runtime by using javascript. Thanks in advance

    Thanks Subbu.

    Web Development javascript

  • Need to open .pdf file while click on Hyperlink
    S subbu sk

    Hai all, i had one hyperlink(click here),while i click on the link i need to open .pdf file which i have in d:/abc.pdf thanks in advance. while i give href...like then the pdf file opens in IE or Firefox. but i need to open .pdf file directly...not in IE or Firefox.

    Thanks Subbu.

    ASP.NET

  • image is displaying correct in firefox but not in internet explorer?
    S subbu sk

    hai ,thank u for u r reply..... .css .style5 { color: #03B0FD } and javascript: function show(divID) { document.getElementById(divID).style.visibility = "visible"; } .aspx:

    [Pro Directory](javascript:show('prodiv');)

    Thanks Subbu.

    ASP.NET help question

  • image is displaying correct in firefox but not in internet explorer?
    S subbu sk

    hai ,thank u for u r reply..... .css .style5 { color: #03B0FD } and javascript:

    function show(divID) {

    	document.getElementById(divID).style.visibility = "visible";
    	
    	
    }
    

    .aspx:

    [Pro Directory](javascript:show('prodiv');)

    Thanks Subbu.

    ASP.NET help question

  • image is displaying correct in firefox but not in internet explorer?
    S subbu sk

    [Message Deleted]

    ASP.NET help question

  • image is displaying correct in firefox but not in internet explorer?
    S subbu sk

    hai ,thank u for u r reply..... .css .style5 { color: #03B0FD } **[Pro Directory](javascript:show('prodiv');)
    **

    Thanks Subbu.

    ASP.NET help question

  • image is displaying correct in firefox but not in internet explorer?
    S subbu sk

    Hai all, i had one .aspx page ,in that i have one image(xyz.png) in div tag. after debugging the image will display as usual in FireFox.but it is not in Internet Explorer? any one knows...pls help me... Thanks in advance

    Thanks Subbu.

    ASP.NET help question

  • textbox in a datalist got the value from database....does not able to change the text
    S subbu sk

    Hai all, i had one textbox in datalist which has value from database. i need to not able to change the text which is in (datalist)textbox. can some suggestion..pls Thanks in advance...

    Thanks Subbu.

    ASP.NET database

  • repeating rows in datalist while i click 2nd or 3rd page navigation.
    S subbu sk

    hi.. thanks for ur immediate reply.. pls check this* oncommand=NavigatePage Protected Sub NavigatePage(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs) Select Case e.CommandName Case "PageNumber" fintCurrentPage = Convert.ToInt32(e.CommandArgument) Dim strselection As String = "" strselection = SearchString If SearchRange.Length > 0 And strselection.Length > 0 Then strselection = strselection & " and " & SearchRange ElseIf SearchRange.Length > 0 Then strselection = SearchRange End If dsPros = getProList(strselection, SortString, fintCurrentPage, PAGE_SIZE) Dim intNoOfRecs As Int32 = 0 Dim intTotPages As Int32 = 0 intNoOfRecs = CType(dsPros.Tables(1).Rows.Count, Int32) intTotPages = CType(dsPros.Tables(0).Rows(0).Item(0), Int32) FormatNavigationMenuBar(fintCurrentPage, intTotPages, PAGE_SIZE, RECS_IN_LIST) dtlstPros.DataSource = dsPros.Tables(1) dtlstPros.DataBind() dtlstPros.UpdateAfterCallBack = True '' lblListStatus.Text = "Displaying " & (((fintCurrentPage - 1) * PAGE_SIZE) + 1).ToString & " to " & ((fintCurrentPage - 1) * PAGE_SIZE) + intNoOfRecs.ToString & " of " & intTotPages.ToString & " matches" lblListStatus.UpdateAfterCallBack = True End Select End Sub Protected Function FormatNavigationMenuBar(ByVal CurrentPageNo As Integer, ByVal TotalNoOfRecords As Integer, _ ByVal MaxNoOfProductsOnAPage As Integer, ByVal ForwardNumber As Integer) As String Dim intStartPageNo As Integer Dim intPageCounter As Integer Dim MaxNoOfBrowseToPageLinksOnAPage As Int32 MaxNoOfBrowseToPageLinksOnAPage = ForwardNumber Dim intTotalPages As Integer Dim objdtPageLink As New DataTable("PageLink ") Dim drPageLink As DataRow With objdtPageLink.Columns .Add("PageNumber", System.Type.GetType("System.String")) .Add("PageID", System.Type.GetType("System.String")) End With 'Compute Total No. of Pages intTotalPages = CInt(Math.Ceiling(TotalNoOfRecords / MaxNoOfProductsOnAPage)) '>> Finding Starting of series If (CurrentPageNo Mod MaxNoOfBrowseToPageLinksOnAPage) = 0 Then intStartPageNo = (CurrentPageNo + 1) - MaxNoOfBrowseToPageLinksOnAPage Else intStartPageNo = (CurrentPageNo - (CurrentPageNo Mod MaxNoOfBrowseToPageLinksOnAPage)) If intStartPageNo = 0 Then intStartPageNo = 1 Else intStartPageNo += 1 End If End

    ASP.NET help

  • repeating rows in datalist while i click 2nd or 3rd page navigation.
    S subbu sk

    Hai all, i have facing a problem while navigating to paging in datalist. i take 10 records for a page.it will display exact 10 records for the first time. if i click second page then it will disply 13 records (3 records from the first page last) and if i click 1 page fgrom 3rd page then also the records in the first page will be 13... pls help me..through any suggestions

    Thanks Subbu.

    ASP.NET help

  • need to display xml(output) by using query string in vb.net
    S subbu sk

    Hai all , i need to create(result will be xml) by using querystring xyz.aspx?customer_id=&first_name=&last_name=&email=sun@sun.com&phone= it will display xml like <?xml version="1.0" encoding="utf-8"?> <livelookup version="1.0" columns="first_name,last_name"> <customer> <customer_id>sunnyb</customer_id> <first_name></first_name> <last_name></last_name> <email>sun@sun.com</email> <phone</phone> <organization></organization> <password></password> </customer> </livelookup> Thanks in advance Thanks Subbu.

    Thanks Subbu.

    Visual Basic csharp database com sales

  • need to return xml by using query string in vb.net
    S subbu sk

    Hai all , i need to create(result will be xml) by using querystring xyz.aspx?customer_id=&first_name=&last_name=&email=sun@sun.com&phone= it will display xml like <?xml version="1.0" encoding="utf-8"?> <livelookup version="1.0" columns="first_name,last_name"> <customer> <customer_id>sunnyb</customer_id> <first_name></first_name> <last_name></last_name> <email>sun@sun.com</email> <phone</phone> <organization></organization> <password></password> </customer> </livelookup> Thanks in advance

    Thanks Subbu.

    XML / XSL csharp database com sales

  • need to display only subquestions when itemcommand evenst fires.
    S subbu sk

    Thanks for ur immediate reply. i had done it by using two panels. like: <cc2:

    .netman wrote:

    Panel ID="pnldlst"

    runat="server" Visible="true" Width="550px"> <anthem:DataList ID="dtlstQues" runat="server" EnableCallBack="true" OnItemDataBound="dtlstQues_ItemDataBound" OnItemCommand="dtlstQues_ItemCommand"> <ItemTemplate> <table width="100%" border="0"> <tr> <td class="text12blue" style="width:500px"><a id="ancQues" runat="server" style="padding-left:8px"/> </td> <cc2:

    .netman wrote:

    Panel ID="Panel1"

    runat="server" Visible="true" Width="550px"> <td> <anthem:LinkButton id="ancsubQues" runat="server" style="padding-left:8px" CommandName="SubQuestion"/> <anthem:HiddenField ID="hdnQues" runat="server"/> </td> </cc2:Panel> <%--<td> <asp:Label ID="example" runat="server" Visible="true"/></td>--%> </tr> </table> </ItemTemplate> </anthem:DataList> </cc2:Panel> but it is showing all the questions including subquestions .and the second panel is not showing intellisence.

    Thanks Subbu.

    ASP.NET question database com help

  • need to display only subquestions when itemcommand evenst fires.
    S subbu sk

    Hai all, i had one page which can have no.of questions?i retrieve and display the questions. my problem is the question no. 5 have sub questions.if i click the fifth question link then it will display only the subquestion. how can i get the subquestions for main question 5. Exam: What is xyz.com and what can i buy here? How Do I upload my images? Are my pictures safe? What are your prices and how much will my order cost? 5.Ways to contact us?------This is a link.if i click this link then all the above 4 questions will be invisible and the sub questions will be visible . sub questions r from DB 1.Can i contact through phone? 2.Can i contact through mail?

    Thanks Subbu.

    ASP.NET question database com help

  • get price value in descending order which is in xml
    S subbu sk

    Hai all, i had one xml table

    1 xyz $20 <pid>2</pid> <pname>abc</pname> <price>$50</price> <pid>1</pid> <pname>lmn</pname> <price>$10</price>

    here i just wanr to get the value of price in ascending order by using vb.net?

    Thanks Subbu.

    Visual Basic csharp xml question

  • how to apply style for anchor tag by using vb.net?
    S subbu sk

    Hai all, i had one anchor tag apply style through html in aspx. as blue color. but i need to change the color of the link(anchor tag) to red by using vb.net. objanch.style()..like that Thanks in advance

    Visual Basic csharp html tutorial question

  • Need to display the links in datalist of pros in redcolor who r working for us
    S subbu sk

    Hi all, i had one datalist which appear all the pros for all the cities in the links of blue color. but i need to display the link color in red to those pro who r working for us. i add one column in database 'workus' a bit. if 'workus' is true then it will display in red color.else in blue color. Protected Sub dtlstPros_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Dim objAnchor As HtmlAnchor Dim drRow As DataRow Dim proCurrenctCityID As Int32 = 0 Dim proPrevCityID As Int32 = 0 Dim intRecCount As Int16 = 0 If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then drRow = CType(CType(e.Item.DataItem, DataRowView).Row, DataRow) proCurrenctCityID = CType(drRow("CityID"), Int32) If ViewState("PrevCityID") <> proCurrenctCityID Then ViewState("PrevCityID") = proCurrenctCityID ViewState("Count") = 0 End If 'If ViewState("RecCount") < DISP_NOOF_PROS Then ''Workaround for hard links Dim strRedirection As String = "" Dim strFormatCompanyName As String = "" Dim intLen As Int16 = 0 ***********workus = Convert.ToBoolean(drRow("workus ")) If zoompro = True Then objAnchor = CType(e.Item.FindControl("ancPro"), HtmlAnchor) objAnchor.Style.Add("cssClass", "text12red") 'objAnchor.Style.Add("style", "*") Else objAnchor = CType(e.Item.FindControl("ancPro"), HtmlAnchor) End If*************** objAnchor = CType(e.Item.FindControl("ancPro"), HtmlAnchor) strRedirection = String.Format("~/xyz/Details.aspx?ID= {0}&CName={1}&CName={2}&ID={3}&Page={4}", drRow(Cas.GUID).ToString, drRow(cas.CNAME).ToString, Request.QueryString("Name"), Request.QueryString("ID"), "City") objAnchor.HRef = strRedirection intLen = drRow("CName").ToString.Length If intLen > PNAME_LENGTH Then strFormatCompanyName = Mid(drRow("CName").ToString, 1, PNAME_LENGTH) objAnchor.InnerText = strFormatCompanyName + "..." Else objAnchor.InnerText = drRow("CName").ToString End If ''End Workaround for hard links 'End If ViewState("Count") += 1 End If End Sub can any one help me how to change the color of 'anctag' to red if workus=true Thanks in advance

    Thanks Subbu.

    Database database design help tutorial question

  • need to allow apostrophe in textbox byusing javascript function
    S subbu sk

    Hai all, i had one function which does not accept apostrophies for the text box but i need to accept the apostrophe for the textbox can any one help me...i am new to javascript... }else if(c.indexOf(' validate-address ')!=-1&&t.replace(/ /g,'').replace(/[,]/g,'').replace(/[.]/g,'').match(/\W/)){valid=false;

    Thanks Subbu.

    ASP.NET javascript regex help

  • Need to display one phone number,if both land line and mobile no.s are same
    S subbu sk

    Hai all, i Need to display one phone number,if both land line and mobile no.s are same as 9821212121 for both landline,cell, then i need to display only one no. in datagrid.. Thanks in advance

    Thanks Subbu.

    Visual Basic
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups